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..
New features of visual studio 2008, New Features of Visual Studio 2008 1. L...
New Features of Visual Studio 2008 1. LINQ Support LINQ primarily is the structure of many conventional question employees that allow you to perform with information in a more user
Python, Write a function lastfirst() that takes a list of strings as a para...
Write a function lastfirst() that takes a list of strings as a parameter. Each string in the list has the format ''Last, First'' where Last is a last name and First is a first nam
Program for a single new-line character, The following function calls suppo...
The following function calls supposedly write a single new-line character, but some are incorrect. Identify which calls don't work and explain why. printf("%c", '\n');
General Programming , #questCustomers of a particular restaurant are descri...
#questCustomers of a particular restaurant are described with some categories. If the categories indicate the customer is a senior citizen, or the customer works for the restaurant
Write a program to decrypt encrypted messages, You are working for a crypto...
You are working for a cryptography department, where one of your jobs is to decipher intercepted messages that have been encrypted using a book cipher. The messages are sent by dif
Write a program to build bcd countdown timer, Many applications require ent...
Many applications require entering a number from a button and then the device counts that number down. If it is a 2 digit number it can be stored in a single register. If it is l
Help pagination of oracle reports when printed from browser, Oracle 11G Rep...
Oracle 11G Reports We are troubleshooting the pagination of Oracle reports when printed from a browser. We need help determining the issue and correcting within the report ou
Excel, basic steps involved in spreadsheet developement
basic steps involved in spreadsheet developement
Unix, 1. Write a shell script to locate executable files. This script takes...
1. Write a shell script to locate executable files. This script takes a list of file names from the command line and determines which would be executed had these names been given a
Irenecereno, Using the concept of structures, write a program to assign pas...
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
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
IT Courses and 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.