Question: I need a code to count the total cost of the packages and to exit once a number lower than 0 or higher than 3
Prof. Lamblase We will be determining the postage cost for regular or large envelopes not weighi ounces. The chart below shows the rates ng more than 3 Large Regular 0.55 0.70 0.85 Weight Not Over (oz.) 1.00 1.15 1.30 Your program will input values until a weight less than 0 or greater than 3 ounces is entered Sun t Postage Calculations What is the weight of the letter, in ounces? 0.3 what is the size of the letter? (L- large, R- regular) r The postage for a regular letter weighing 0.30 ounces is s 0.55 What is the weight of the letter, in ounces? 0.6 What is the size of the letter? (I-large, R-regular) 1 The postage for a large letter weighing 0.60 ounces is s 1.00 What is the weight of the letter, in ounces? 1.5 What is the size of the letter? (L large, R regular) 1 The postage for a large letter weighing 1.50 ounces is s 1.15 What is the weight of the letter, in ounces? 2.1 What is the size of the letter? (L large, R regular) r The postage for a regular letter weighing 2.10 ounces is s 0.85 What is the weight of the letter, in ounces? 9 The total cost of postage is $ 3.55 The fafal You must submit the following electronically to BlackBoard: S um Program development-math, pseudocode, C++ code Source code- a working C++ source code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
