Customer Service Chat
Get quote & make Payment
Irenecereno, computer programming, Programming Languages
Using the concept of structures, write a program to assign passenger seats in an airplane. Assume a small airplane with seats numbered as follows:
1 A B C D
2 A B C D
3 A B C D
4 A B C D
5 A B C D
The program should display the seat pattern, marking with an ''X'' the seats already assigned. For example, after seats 1A, 2B, and 4C are taken, the display should look like:
1 X B C D
2 A X C D
3 A B C D
4 A B X D
5 A B C D
Seats are assigned by specifying a number and a letter. If the user types in a seat that is already assigned, the program should say that the seat is occupied and ask for another choice.The program should run until all seats are filled, or the user signals that the program should end.
Posted Date: 2/20/2012 6:11:11 AM | Location : United States
Ask an Expert
Irenecereno, computer programming, Assignment Help, Ask Question on Irenecereno, computer programming, Get Answer, Expert's Help, Irenecereno, computer programming Discussions
Write discussion on Irenecereno, computer programming
Your posts are moderated
Write your message here..
Ado. net, ADO. NET ADO.NET (ActiveX Information Things for .NET) is a set o...
ADO. NET ADO.NET (ActiveX Information Things for .NET) is a set of programs elements that developers can use to accessibility data and data solutions. It is an element of the platf
Write a constructor for money data structure, Create a Money data structure...
Create a Money data structure that is made up of amount and currency. (a) Write a constructor for this data structure (b) Create accessors for this data structure (c)
Adding new features to a simple shell implementation, You will be working o...
You will be working on creating both a realistic project environment and on adding new features to a simple shell implementation provided in shell.tar.z. After you un-tar it, let's
Algorithm of sort the given array remove the repeated value, Short Arrays: ...
Short Arrays: Array = randi(10,1,randi(6,1,1)+4)-5 This command will generate an array which you should be able to evaluate by hand (and also have your code evaluate for te
Implement a lunar lander simulation, 1. Modify your solution to #8 so that ...
1. Modify your solution to #8 so that if an ellipse is touched by the mouse, it turns permanently green.Bonus (up to +5): a green ellipse stops moving, but recovers after 5 seconds
Programme for create the class in the karel++ , Create the class Robot desc...
Create the class Robot described in the Karel++ book. Description: The Robot class described in the Karel++ text is a derived class of ur_Robot. Create class Robot as a d
Linux shellscripting, Do you guys do linux projects?
Do you guys do linux projects?
Fortran source code, For this programming assignment, you are to develop a ...
For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo
Example of arithmetic involving matrices, Example- Arithmetic : Given th...
Example- Arithmetic : Given the subsequent two matrices, So calculate A-5B. Solution There isn't much to do now other than the work. We first multiplied
Biology, Mamalian skin
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.