I need to write a java program, but it is confusing me because of everything I need to add, such as tax, discount, etc. I am hoping someone could at least write out an example of what my program should look like. Here's the information I am given.

A catering service has the following schedule of charges for meals that it serves to groups and discounts according to how many were ordered:

Meal........... Cost Each.......... Discount............ If order more than

The program should compute, for each category, the cost of the meals received in each category, the discount, and the final cost of the meals. It should then compute the total cost of all meals, add a 10% sates tax and print the total due. Be sure to format the output well and include appropriate comments in your program.

1. Enter the number of Breakfast ordered: 30

2. Enter the number of Lunch ordered: 28

3. Enter the number of Dinner ordered: 25

My Favorite Catering Service Receipt:

Meal..... ......Quantity....... Cost .......Discount .........Cost After Discount

Enter the number of Breakfast ordered: 30Enter the number of Lunch ordered: 28Enter the number of Dinner ordered: 25Meal Quantity Cost Discount Cost After Discount Breakfast 30 5.5 16.5 148.5 Lunch 28 9.5 39.9 226.1 Dinner 25 16.5 49.5 363.0 Total: $737.6Total sales tax: $73,76Total Due: $811.36

No it didn't helped you. In the real world you will need to resold this small problems and staarland just distroid what could have been a good lesson.

0

MegarooniAuthor Commented:

In the real World I wont need this, I'll need English. "Destroid.......lol"

0

Featured Post

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

please, ask specific problems inside this problem, or give me your actual code with some additional questions.