Question: The program should start by asking the user if they want to continue. The answer is ' Y ' for yes or ' x '

The program should start by asking the user if they want to continue. The answer is 'Y' for yes or 'x' 'for no. You can check the value with Boolean expressions such as
answer =='Y'
or
answer ?'Y'.
It will then continue to prompt the user to enter the following four items for a given customer (in the specified order and use the prompts provided in the strings.txt file or the starter code):
a. The galactic code (a string)
b. Days of your interstellar joyride (an integer)
c. Odometer at liftoff (an integer)
d. Odometer at touchdown (an integer)
 The program should start by asking the user if they want

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!