Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COSC 1336-Program 4 Requirements to be numbered in program 4.py CoSc 1336-Program 4 1. Print This program provides airline seat assignments. 2. Ask the user

image text in transcribed
COSC 1336-Program 4 Requirements to be numbered in program 4.py CoSc 1336-Program 4 1. Print "This program provides airline seat assignments. 2. Ask the user to enter the following data about themselves: i "You have Business, as usual. You know we do recommend First Class L. "Really? You can do better don't you think? i. "We are running your credit card again to ensure there are no if Gold and Peanuts First Name Last Name .Priority Status if Newbie and Colossal: i. Platinum i. Gold ili. Newbie mistakes. Looks like you may get First Class. Please behave." . if Newbie and Big Bucks L "Hmmm. . Our fashion consultant will ensure you are . Seat Preference professionally dressed. If so, it is Business for you" i. First Class ii. Business ili. Coach if Newbie and Peanuts i. "We apologize in advance for the crying baby next to you Please limit peanut request to one 1 oz. bag. Ticket Budget (amount they are willing to spend 4. After the flight, the user completes a survey with the following three i. Colossal i. Big Bucks ili. Peanuts questions. Ask the user to input a score 1-5(1 - dissatisfied; 5 outstanding). . Did you have a good flight? 3. Message the following based on criteria (include First and Last Name in was the food fantastic? messages to user) . How was the movie selection? S. Message to the user based on the following: . if Platinum and Colossal: i. "You qualify for First Class and they are exceptional seats if Platinum and (total score less than 12 or any score less than 4) .if Platinum and Big Bucks i. "Your survey score of cscores was lower than we would like. i. "You have Business and they are ok seats. We suggest you Please give us another opportunity soon spend more money to get better seats." i "Really? You are in Coach and will be sorry. i. "You qualify for First Class. Did you get a promotion?" if Gold and (total score less than 11 or any score less than 3): . . if Platinum and Peanuts L "Your survey score of escore> was lower than we would like The next time you fly you receive a complementary soft drink if Gold and Colossal: if Newbie and (total score less than 10 or any score less than 2): . L "Your survey score of was lower than we would like if Gold and Big Bucks You will have more fun next time. 6. Print a statement explaining your experiences with Program 4 Page 2 of 4 Page 3 of 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

Students also viewed these Databases questions

Question

What are two chief advantages of investing in mutual funds?

Answered: 1 week ago

Question

And who will probably make the actual hiring decision?

Answered: 1 week ago

Question

What about leadership lessons from particularly good or bad bosses?

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago