Question: Write the Pseudocode and the C++ Program of the statement above using nested If statements. Problem Statement: A popular online store needs to calculate shipping
Write the Pseudocode and the C++ Program of the statement above using nested "If" statements.
Problem Statement: A popular online store needs to calculate shipping and handling charges for its orders. The program should prompt the user for the weight of the order in ounces (portions of ounces are not allowed). If the weight is 8 ounces or less, there is a flat rate of $2.75. If the weight of the order is more than 8 ounces, but less than 32 ounces, the charge is $2.75 plus $0.75 for each ounce over 8. If the weight is 32 ounces or greater, there is a charge of $25.00 plus $1.25 for each ounce over 32. The program should display the weight of the order and the shipping and handling charge. In the banner line below, make the program print your name not the words Your Name by utilizing a constant Note: This program requires the use of constants and variables. * * * * * * * * * * * * * * * * * * * * Your Name Shipping and Handling Program * * * * * * * * * * * * * * * Enter the weight of the order in ounces: xx The shipping and handling charge is: $xxxxx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
