Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 is entered image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+ (b) Show that the condition is sufficient as well.

Answered: 1 week ago