Question: + Concepts tested by this programs: 1. Selection control structure e Pseudocode ant&Low chet a The if statement b. The switch statement (optional) 2. Relational
+ Concepts tested by this programs: 1. Selection control structure e Pseudocode ant&Low chet a The if statement b. The switch statement (optional) 2. Relational operators and logical operators Use of relational and logical operators to check numeric ranges a. 3. User friendly a. b. c. Use of user friendly user prompt and simple input validation Use of meaningful output labels and format Use of output manipulators Proiect 3: Shipping Charges Project Description and Requirements Write a program that asks for the weight of the package and the distance it is to be shipped, and then displays the charges. Do not accept Input Validation: Do not accept values of0 or less for the weight of the weights of more than 20 kg (this is the maximum weight the company will ship). Do not accept distances of less than 10 miles or more than 3,000 miles. These are the company's minimum and maximum shipping distances The Fast Freight Shipping Company charges the following rates: Weight of Package (in Kilograms) Rate per 500 Miles Shipped $1.10 $2.20 $3.70 $4.80 2 kg or less Over 2 kg but not more than 6 kg Over 6 kg but not more than 10 kg Over 10 kg but not more than 20 kg 10 Use only the main function and constructs from Chapters 1 through 4 (NO loops or/and arrays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
