Site hosted by Angelfire.com: Build your free website today!
       
The Digital Reference Section

Object Oriented Programming ;

Convert to Object Oriented program the following;

1. A customer named Peter looked at his wallet containing 1000 pesos.
2. He is inside the grocery store and gets products from the shelf and place it in the shopping cart.
3. He has 3 products in the shopping cart and brought the shopping cart to the counter.
4. The cashier named Christine gets the products from the shopping cart one by one.
5. Each product price was accumulated by the register.
6. Peter looked at the LCD display of the register to see the total amount due.
7. Peter tooked his money from the wallet and gave it to Christine.
8. Christine accepts the payment and return the change.
9. Peter looked again at his wallet to see how much money is left for him.

The PinoyTechZone.Com
Copyright 2002-2003
All rights Reserved