Question: Sequence of Application Behavior Display a nicely formatted Welcome message that includes: The name of the company: Acme Rocket Division, On a separate line, the
Sequence of Application Behavior
Display a nicely formatted Welcome message that includes:
The name of the company: Acme Rocket Division,
On a separate line, the company motto: Supporting the animation industry since
See sample output below
Collect required data from the user one line at a time as follows and in this order Both the prompt and the usersupplied response must be on the same line.
Number of Rockets
Customers name
Street address
City
State
Zip as text, not numeric
Store the user input values in appropriately named variables.
Calculate the total cost of the order as follows:
Calculate the order subtotal by multiplying the number of rockets by the price per rocket. The price for one rocket is $
Calculate the order total by adding tax. The tax rate is
Pause execution and display a message that reads Press any key to display invoice...
Display an invoice that includes all required information, include the input data from the user, in a nicely formatted document.
Theres an example below. The text "SCRIPT" is a label denoting that this is the statement the sales representative will read to the customer. For quality consistency, all sales reps shall use the same script. It is a production note DO NOT include it in the display. Only display the words the sales rep is to say.
Thank the user for shopping with Acme and add a promotional slogan. You may create your own or use the one in the example at the end of the document.
After the invoice is displayed, display the message Press any key to end the program... and pause execution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
