[VIEWED 4905
TIMES]
|
SAVE! for ease of future access.
|
|
|
sajhakhohero
Please log in to subscribe to sajhakhohero's postings.
Posted on 09-09-08 10:47
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
hey sajhahites i am learning C++ programming. i got some problem. can any computer genius/programmer help me to write this problem.
Thank you and much appreciated for help.
Q1. Stadium Seating
There are three seating categories at a stadium. For a softball game, Class A seats costs $15, Class B seats cost $12 and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold, and then displays the amount of income generated from ticket sales. Format your dollar amount in fixed point notation, with 2 decimal places of precision, and be sure the decimal point is always displayed.
You can write down the solution here or mail me.
Thank you
|
|
|
|
KillEmAll
Please log in to subscribe to KillEmAll's postings.
Posted on 09-09-08 11:29
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Sure Ill help you but wont do all the work so you can just copy-paste the solution and submit it. If its the "coding" part you need help with then post your pseudo code here. If you are having problems formatting the output look up documentation for print, println and printf functions (google). G'luck.
|
|
|
sajhakhohero
Please log in to subscribe to sajhakhohero's postings.
Posted on 09-09-08 11:33
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Q2. Box Office
A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the distributor. Write a program that calculates a theater’s gross and net box office profit for a night. The program should ask for the name of the movie, and how many adult and child tickets were sold. (The price of an adult ticket is $6.00 and a child’s ticket is $3.00). It should display a report similar to the following:
Movie Name: “Wheels of Furyâ€
Adult Tickets Sold: 382
Child Tickets Sold: 127
Gross Box Office Profit: $2673.00
Amount Paid to Distributor: -$2138.40
Net Box Office Profit: $534.60
Thank you KillEmAll
|
|
|
techGuy
Please log in to subscribe to techGuy's postings.
Posted on 09-09-08 4:59
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Q3. Are you learning C++ or cheating? Try it first. If its not working we will help you for sure.
|
|