Would like to fly economy

Assignment Help Basic Computer Science
Reference no: EM132856346

You are required to create 5 array of economy class and first class for an Airline reservation.

Use the do loop asking the user for input, for example "Please select of the following options below:\n 1-\"First Class\" \n 2-\"Economy\" \n Your Choice >> " or Please select of the following options below:

1-"First Class"
2-"Economy"
Your Choice >> 1

Discussion 1: Decide the seat selection for First Class, so the loop body seeing if there are spots available. Then, assign a seat with message. Your seat in first class is number 1. Thanks for flying with us.

Discussion 2: If there are no seats available in first class; then, check to see if there are seats in the economy, and print "Unfortunately there are no more seats in first class. Would you like to fly economy Would you like to reserve another seat?

Reference no: EM132856346

Questions Cloud

What does the supreme court of canada say about the role : What does the Supreme Court of Canada say about the role that an organization's computer use policy and practices may play in the assessment
What is the loan impairment loss : The PV of 1 at 10% for three periods is 0.75, and the PV of an ordinary annuity of 1 at 10% for three period is 2.49. What is the loan impairment loss for 2019
Organization from two different organizational structures : Differentiated the structure of the selected organization from two different organizational structures.
Find the probability that the selected lens is not blue : One lens is randomly selected from the box. Find the probability that the selected lens is not blue.
Would like to fly economy : If there are no seats available in first class; then, check to see, Would you like to fly economy Would you like to reserve another seat?
How do roles and responsibilities of each unit fit together : What are the job roles and responsibilities of the different parts/units or your organization and the different employees of your organization?
Activity-on-node and activity-on-arrow diagramming technique : What are the differences and similarities between the activity-on-node and activity-on-arrow (or activity-on-arc) diagramming techniques?
Ensure the data are presented most accurately : If a time series line graph shows a large decline from one period to the next, one place to check to ensure the data are presented most accurately would be:
How each method benefits multilayered access control : How each method benefits multilayered access control. What you have learned about building a multilayer access control system?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Discuss software development methodologies

Research and find two peer reviewed academic articles that discuss software development methodologies for (medium scale) distributed information systemsprojects. Summarise, compare and contrast these articles and state whatcontribution they make t..

  Pros and cons of the imf programs

Please address the pros and cons of the IMF programs using an example from one of the IMF programs and discuss the conditionality of the IMF loans.

  Economy to increase its production capabilities

Explain the requirements for an economy to increase its production capabilities (economic growth).

  Web site should have a consistent layout

Your web site should have a consistent layout. When clicking on any link of your web site

  What is the value of x after the assignment statement

What is the value of x after the assignment statement

  General data protection regulation to european union

Compare the revised General Data Protection Regulation (GDPR) to European Union (EU) laws related to personal data protection,

  Array element in pseudocode with the expression

Consider the array named students of size 10. If a variable named index exists, you can access an array element in pseudocode with the following expression:

  Management to secure laptop computer

Management to secure the laptop computer of an individual who was just dismissed from the company under unfavorable circumstances.

  Name of the recommended actions a facility manager

What is the name of the recommended actions a facility manager should take to help manage his/her department successfully?

  Design an adt that stores the side effects of various drugs

Design an ADT that stores the side effects of various drugs. Each drug should have a list of associated side effects. Provide a method that returns the side effects of a given drug. Then use a dictionary to implement the class DrugSideEffects.

  Traditional risk management and enterprise risk management

What do you think is the difference between traditional risk management and enterprise risk management?

  Minimum-cost staffing plan for the center

Determine a minimum-cost staffing plan for the center. How many full-time and part-time consultants will be needed? What is the minimum cost?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd