[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 4917 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 365 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
TPS Re-registration
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Toilet paper or water?
TPS EAD auto extended to June 2025 or just TPS?
Biden out, Trump next president, so what’s gonna happen to TPS, termination?
Nas and The Bokas: Coming to a Night Club near you
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
Tourist Visa - Seeking Suggestions and Guidance
From Trump “I will revoke TPS, and deport them back to their country.”
I hope all the fake Nepali refugee get deported
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
Nas and The Bokas: Coming to a Night Club near you
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