Question: Problem 2 Assume that you often send packages from Virginia to New York. Create a program that calculates the shipping cost based on number of

 Problem 2 Assume that you often send packages from Virginia to

Problem 2 Assume that you often send packages from Virginia to New York. Create a program that calculates the shipping cost based on number of pounds. The rules are as follow: weight up to 5 pounds - $ 1.20 per pound 5 20 - $ 0.80 per pound The program receives a package weight from Keyboard, and prints a message similar to the following: Your package weight is 15 pounds, the cost of shipping is $ 13.5

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!