[Show all top banners]

rajshiva75
Replies to this thread:

More by rajshiva75
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 C++ homework, will pay $50
[VIEWED 3978 TIMES]
SAVE! for ease of future access.
Posted on 05-12-10 7:27 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I would like to get the codes for a problem in my beginner programming class . 
I am using visual studio 2008 compiler.
I would like the program done without using vector.


The deadline is Friday May 14, 9 AM CST


I would like to pay $50 for it.


// I know it is not good to ask somebody do my homework. I just want to pass this class and I am not going to take any programming class in future.
 


 


Your employer has determined a market for a simple airline ticketing system for a very simple airline (Tree Top Airways - TTA). The airline only has two aircraft, named ALFA and BRAVO. Initially, the ticket system will determine the number of seats on each plane and in the lounge. The ticketing system is to be installed at the airport ticket booth for the airline and will operate under the following rules:


 


1)   If a party arrives and there is enough room on the plane requested, they are allowed to board and a message to that effect is printed.


 


2)   If a party arrives and there is not enough room on the plane requested due to people already being on the plane, the party is directed to wait in the lounge and a message to that effect is printed.


 


3)   If a party arrives and there is not enough room on the plane requested because the plane is just too small, the party is turned away and a message to that effect is printed.


 


4)   If a party is directed to the lounge and there is not enough room in the lounge, the party is turned away.


 


5)         Parties are never split.


 


6)   A plane will fly whenever it becomes full and a list of all parties on board will be printed.


 


7)   A plane may fly upon a command from the ticket clerk. Again a list of all parties on board will be printed.


 


8)   The ticket clerk will enter when a plane flys and upon the return of the plane the system will move people from the lounge to the plane in the order in which the parties arrived, but will skip parties that cannot fit and search for those which can fit. A list of those parties boarding the plane will be printed.


 


9)   When the airline shuts down for the night, the airplanes will continue to fly and return (without the ticket clerk performing any action) until all parties in the lounge have flown with appropriate messages being printed.


 


10) Party names do not have a maximum size.


 


The commands the system will accept are the following:


 


ALFA             <size>


BRAVO         <size>


LOUNGE       <size>


FLY                <airplane>


ARRIVE        <airplane> <party> <size>


SHUTDOWN


 


where: <airplane> is either ALFA or BRAVO.


                        <party> is a name of unlimited length.


                        <size> is an integer number


 


NOTE:Fields in the input will be separated by some amount of whitespace.


 


 


 
Posted on 05-12-10 7:30 PM     [Snapshot: 3]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Give me $200. I will do give u back until Friday morning.

 
Posted on 05-12-10 7:32 PM     [Snapshot: 12]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

kalu, I cant afford $200


thankx


 


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 90 days
Recommended Popular Threads Controvertial Threads
शीर्षक जे पनि हुन सक्छ।
NRN card pros and cons?
What are your first memories of when Nepal Television Began?
TPS Re-registration
TPS Re-registration case still pending ..
Basnet or Basnyat ??
nrn citizenship
Sajha has turned into MAGATs nest
Nas and The Bokas: Coming to a Night Club near you
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
3 most corrupt politicians in the world
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
if you are in USA illegally and ask for asylum it is legal
Travelling to Nepal - TPS AP- PASSPORT
Top 10 Anti-vaxxers Who Got Owned by COVID
निगुरो थाहा छ ??
ढ्याउ गर्दा दसैँको खसी गनाउच
Poonam pandey - death or suicide?
Doctors dying suddenly or unexpectedly since the rollout of COVID-19 vaccines
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
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