[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 4915 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 60 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
Toilet paper or water?
ढ्याउ गर्दा दसैँको खसी गनाउच
Tourist Visa - Seeking Suggestions and Guidance
To Sajha admin
From Trump “I will revoke TPS, and deport them back to their country.”
I hope all the fake Nepali refugee get deported
wanna be ruled by stupid or an Idiot ?
MAGA denaturalization proposal!!
advanced parole
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
How to Retrieve a Copy of Domestic Violence Complaint???
Travel Document for TPS (approved)
All the Qatar ailines from Nepal canceled to USA
MAGA and all how do you feel about Trumps cabinet pick?
Those who are in TPS, what’s your backup plan?
MAGA मार्का कुरा पढेर दिमाग नखपाउनुस !
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