Question: Submit your.c (preferred) or .cpp solution file on Blackboard The United States Postal Service has decided to have machines that print out postage stamps up

Submit your.c (preferred) or .cpp solution file on Blackboard The United States Postal Service has decided to have machines that print out postage stamps up to a maximum value of $20.00. The stamps have a basic design as follows. USA 0.49 Loca Sample Stamp For Local Mail USA 0.90 By Air Sample Stamp For Air Mail All mail (Local and Air) is divided in to three zones. If the weight of the mail is ounce or less, all local mail (in all three zones) must have a rate of $0.49. For the first ounce or less, for all three zones, all air mail must have a rate of $0.90. Any mail more than ounce is subjected to an additional charge. The rate chart for three zones for both local and air mail is shown below For every next 1/2 ounce or less Weight Zone Zone1 Zone2 Zone3 First 1/2 ounce or less Air 0.90 0.90 0.90 Local 0.49 0.49 0.49 Local 0.490.50 0.490.65 0.490.80 Air 0.90 0.40 0.90 0.60 0.90 0.85 Write a C (Preferred)/C++ application program that prompts the user for the weight of the article, the zone to which it is going and whether it should go by air or it is local and then print out the correct stamp Please follow the program submissions rules properl All C/C++ files must have an appropriate heading information(see below). Identifiers must be meaningful. The program should be laid out neatly. Block structure should be used to localize declarations (Avoid Global Variables as much as possible). Whenever possible a piece of information should be written once; thus numbers and constant declarations should be used rather than explicit literals. Make all functions shorter as possible. Use a header like this at the top of the file. /**efile yourfilename.c *This file contains the kernel's main function *You should add your own comments to replace this one *@author John Smi th
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
