[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 4403 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 200 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
TPS Re-registration case still pending ..
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Do nepalese really need TPS?
कता जादै छ नेपाली समाज ??
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
Top 10 Anti-vaxxers Who Got Owned by COVID
I regret not marrying a girl at least for green card. do you think TPS will remain for a long time?
TPS Work Permit/How long your took?
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
Breathe in. Breathe out.
3 most corrupt politicians in the world
Dementia Joe has been selected to become the next President
Nas and The Bokas: Coming to a Night Club near you
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
TPS Update : Jajarkot earthquake
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