i need help writing this program... i am in college and i do not have time do this right now as i need to study for another test....but this is due tonight...i will pay $5 if you accept to do it and i will pay another $10 upon completion>
CISY 103 - Project 01 - Fall 2007 - 02x
Daily Sales report for Kahuna Burgers
Overview
The manager of the Kahuna Burgers wants to run a report on a daily basis. The manager is concerned with the total sales in dollars of each of the burgers they sell and he also wants a percentage breakdown by qty and sales.
The manager would also like to know how many pounds of burgers were sold based on sales. But he can make do without this number.
The Burgers
Kahuna Burgers sells 5 kinds of burgers: Hamburgers, Cheeseburgers, Prince Kahuna Burgers, Queen Kahuna Burgers, and King Kahuna Burgers.
Hamburgers cost 89 cents and contain 3 ounces of hamburger
Cheeseburgers cost 99 cents and contain 3 ounces of hamburger
Prince Kahuna Burgers cost $1.29 and contain a quarter pound of hamburger (4 ounces)
Queen Kahuna Burgers cost $2.09 and contain two three-ounce hamburgers (6 ounces)
King Kahuna Burgers cost $2.98 and contain two quarter pound hamburgers (8 ounces)
The Assignment
You are to write a program that will prompt the user for the number of each type of burger sold
You are to calculate the total number of burgers sold.
You are to calculate for each burger the sales in dollars and the total sales
You are for each burger to determine what % it's qty is of the total qty and what % it's sales are of the total sales.
Example: If you look in the sample run you see that 381 Cheeseburgers were sold. That 381 is 18.0% of the total qty 2,122. The sales of those Cheeseburgers are 377.19 which is 9.3% of the total sales 4,050.72
Grading
The main report involves 19 calculations (40 points)
The main report has 5 columns of data neatly formatted (25 points)
The main report has a column header (5 points)
The main report has a totals line (5 points)
Coding Guidelines (25 points+)
Your name must be in the comments along with Date Written and Purpose
Your code must be neatly indented (up to 10 point deduction if not)
Your class names must begin with a capital letter [ Project01 ]
Your variable names must be meaningful and the must begin with a little letter [ numCheeseburgersSold ] (deductions can be 1-5 points per poorly defined variable)
Your code must be well organized: It must have all the variable declarations in one place, all of the user inputs in one place, all of the calculations in one place, all of the outputs in one place (up to 10 points)
Your prices for the burgers must be stored in variables [ priceCheeseburger ] (5 points)
Extra Credit (15 points):
Calculate and display of the total weight of meat sold
The ounces in each burger must be stored in variables [ numOuncesCheeseburger ]
Some Techincal Stuff
A single class Project01.java is all that is needed for this program
The maximum total Qty will be 9,999
The maximum total Sales will be is 99,999.99
There are 16 ounces in a pound
Hint: you will need to perform a cast so the percent qty and the total weight will work
Sample Run
Enter number of hamburgers sold: 227
Enter number of cheeseburgers sold: 381
Enter number of Prince Kahuna burgers sold: 457
Enter number of Queen Kahuna burgers sold: 301
Enter number of King Kahuna burgers sold: 756
Total weight of meat sold for the day is 719.13 pounds
Press any key to continue . . .
Another Sample Run
Enter number of hamburgers sold: 24
Enter number of cheeseburgers sold: 35
Enter number of Prince Kahuna burgers sold: 41
Enter number of Queen Kahuna burgers sold: 29
Enter number of King Kahuna burgers sold: 72
Total weight of meat sold for the day is 68.19 pounds
Press any key to continue . . .
Cheating is not allowed!
All parties involved in cheating will receive a 0!
i need help writing this program... i am in college and i do not have time do this right now as i need to study for another test....but this is due tonight...i will pay $5 if you accept to do it and i will pay another $10 upon completion>
Did you even read the last part of your assignment text:
Cheating is not allowed!
All parties involved in cheating will receive a 0!