[Show all top banners]

sajhakhohero
Replies to this thread:

More by sajhakhohero
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 programming
[VIEWED 4395 TIMES]
SAVE! for ease of future access.
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


 
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.

 
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


 
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.

 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
nrn citizenship
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
Travelling to Nepal - TPS AP- PASSPORT
emergency donation needed
ढ्याउ गर्दा दसैँको खसी गनाउच
मन भित्र को पत्रै पत्र!
Morning dharahara
Guess how many vaccines a one year old baby is given
जाडो, बा र म……
lost $3500 on penny stocks !!!
Susta Susta Degree Maile REMIXED version
Elderly parents travelling to US (any suggestions besides Special Assistance)?
TPS Reregistration and EAD Approval Timeline.......
Changing job after i-140 approval
कल्लाई मुर्ख भन्या ?
1974 AD Pinjadako Suga Remixed
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters