Presentation is loading. Please wait.

Presentation is loading. Please wait.

In Class Exercises.

Similar presentations


Presentation on theme: "In Class Exercises."— Presentation transcript:

1 In Class Exercises

2 Chapter 3, problem 25 Develop an application to compute the total cost of an order for MyJava Coffee Outlet including the boxes used to ship it. Coffee is sold in 2-lb bags which cost $5.50 each. Size Holds Cost Large 20 $1.80 Medium 10 $1.00 Small 5 $0.60

3 Output Format Number of Bags ordered: 52 Cost of Coffee: $286.00
Boxes Used: 2 Large - $3.60 1 Medium - $1.00 1 Small - $0.60 Your total cost is: $291.20

4 Development Process Any questions about the specification?
What classes do we need to use? Which do we need to write? How should we break down the development?

5 Adding Arrival date Use today's date as the date of order
Expected arrival date is two weeks from date of order. Date of Order: September 13, 2005 Expected Arrival: September 13, 2005


Download ppt "In Class Exercises."

Similar presentations


Ads by Google