Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Python program that display s the points earned for a given customer . The program should prompt for the customer name, miles flown
Write a Python program that displays the points earned for a given customer. The program should prompt for the customer name, miles flown, and status level. The program will then display customer name and points earned. After processing the data, the program should ask if the user wants to process data for another flyer, and repeat the process if the answer is y. Program execution should continue for any number of customers until anything other than y is entered when asked if another flyer should be processed. The program should validate the miles entered(must be non-negative), and the status level label (Silver, Gold, or Platinum).
why cant I get rid of the red underline? Any tips to make my program work ? :(
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started