Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

hellp me with my homwork

Name: Anonymous 2011-03-16 23:12

A company is supplying 4 types of soft drinks like Pepsi, Sprite, Orange Soda and a new lemon drink to 100 stores. The company has a new promotion which gives a free dozen of lemon drink for every 24 dozen of Pepsi, for every 30 dozen of Sprite and every 10 dozen of Orange soda. The company provides many discounts on their sales which can be listed as follows:
>2% discount if sale >= $10,000
>3% discount if sale >= $20,000
2% additional discount if the bill is paid within 30 days (counter loop)
10 dozens of free lemon drinks if the total purchased dozen is >= 1000.

Write a program in Java to read the order for the number and type of soft drinks, soda cost, shipping and handling cost, date of invoice, payment date. Then compute the total discount, total number dozens of soda, total number of free soda received, shipping cost, and total cost.
For this problem use the following data
5000 doz Pepsi
6000 doz Sprite
7500 doz orange
$ 1.50 per dozen
$ .25 shipping cost per dozen.

use extract and if else loops

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List