Question: Could you write this in C++? Write a program to prompt user to input the weight of letter, whether or not it is international letter,
Could you write this in C++?
Write a program to prompt user to input the weight of letter, whether or not it is international letter, and then compute and output the related post rate via following the rules:
If the letter weights no more than 30gram, then the post rate is $0.41;
Otherwise, the total post rate is $0.41 plus extra over-weight cost ($0.05 per extra gram).
If a letter is international, an extra 15% tax should be introduced into the post-cost. (Flow-chart and comments are needed, 5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
