[Solved] ITSE 1359 Program4

$25

File Name: ITSE_1359__Program4.zip
File Size: 178.98 KB

SKU: [Solved] ITSE 1359 – Program4 Category: Tag:
5/5 - (1 vote)
  • It is recommended to use PyCharm Pro to create this program and all subsequent python programs.
  • Name the source file program_4.py.
  • Format code like the examples in the course material.
  • Include comments in your code like the examples in the course material.
  • Output a header in the console: This is Program 4 <yournamehere> Requirements to be numbered in program_4.py:
  1. Print This program provides airline seat assignments. 2. Ask the user to enter the following data about themselves:
  • First Name
  • Last Name
  • Priority Status
    1. Platinum
    2. Gold
  • Newbie
  • Seat Preference
    1. First Class
    2. Business
  • Coach
  • Ticket Budget (amount they are willing to spend)
    1. Colossal
    2. Big Bucks
  • Peanuts
  1. Message the following based on criteria (include First and Last Name in messages to user):
    • if Platinum and Colossal:
      1. You qualify for First Class and they are exceptional seats!
    • if Platinum and Big Bucks
      1. You have Business and they are ok seats. We suggest you spend more money to get better seats.
    • if Platinum and Peanuts
      1. Really? You are in Coach and will be sorry.
    • if Gold and Colossal:
      1. You qualify for First Class. Did you get a promotion?
    • if Gold and Big Bucks
      1. You have Business, as usual. You know we do recommend

First Class

  • if Gold and Peanuts
    1. Really? You can do better dont you think?
  • if Newbie and Colossal:
    1. We are running your credit card again to ensure there are no mistakes. Looks like you may get First Class. Please behave.
  • if Newbie and Big Bucks
    1. Hmmm Our fashion consultant will ensure you are professionally dressed. If so, it is Business for you.
  • if Newbie and Peanuts
    1. We apologize in advance for the crying baby next to you. Please limit peanut request to one 1 oz. bag.
  1. After the flight, the user completes a survey with the following three questions. Ask the user to input a score 1 5 (1 = dissatisfied; 5 = outstanding).
    • Did you have a good flight?
    • Was the food fantastic?
    • How was the movie selection?
  2. Message to the user based on the following:
    • if Platinum and (total score less than 12 or any score less than 4):
      1. Your survey score of <score> was lower than we would like. Please give us another opportunity soon.
    • if Gold and (total score less than 11 or any score less than 3):
      1. Your survey score of <score> was lower than we would like.

The next time you fly you receive a complementary soft drink.

  • if Newbie and (total score less than 10 or any score less than 2):
    1. Your survey score of <score> was lower than we would like. You will have more fun next time.
  1. Print a statement explaining your experiences with Program 4.

TEST TEST TEST your application to ensure the specific program requirements are met.

  • Use the list above and the common requirements as a confirmation checklist.
  • Not meeting all requirements = 0 points for the assignment.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ITSE 1359  Program4[Solved] ITSE 1359 Program4
$25