Question: Write a Item Shipping Calculator program that does the following: Prompt and retrieve the following input from the user (through the console): Item name Is
Write a Item Shipping Calculator program that does the following:
Prompt and retrieve the following input from the user (through the console):
Item name Is the item fragile (add in $2.00 if the item is fragile) The order total (without shipping) The destination to which the item will be shipped (USA, Canada, Australia)
Use the following table to determine the calculations to perform:

If the item is fragile add $2.00 to the shipping cost.
Format the output exactly as in the following image:

To receive full credit the following requirements must be met:
There can be no magic numbers in your program. All static values must be defined as constants.
If the user enters an incorrect value for the question "Is the item fragile" or "Please enter your destination" the program should indicate that an incorrect value was entered and then exit the program as in the following image.

The Program should perform as intended with either uppercase or lowercase text entry (e.g. the user can enter either "y" or Y").
Use stream manipulators and not hard-coded white space to format your output.
The program should not only write to the console window but also to a file named "Order.txt"
Ship to Canada Order Total Ship to USA Ship to Australia Less than $50.00 $10.00 $6.00 $8.00 $9.00 $14.00 $50.01 to $100.00 $12.00 $100.01 to $150.00 $12.00 $15.00 $17.00 Free Free Free Over $150.00
Step by Step Solution
There are 3 Steps involved in it
To create an Item Shipping Calculator program in C follow these steps Step 1 Define Constants Define ... View full answer
Get step-by-step solutions from verified subject matter experts
