using only iostream, iomanip and cmath,if else, if else if, menu , switch,nested
ID: 3534763 • Letter: U
Question
using only iostream, iomanip and cmath,if else, if else if, menu , switch,nested statement, logical operators,conditional operator,break and regular c statements!
A shipping company charges the following rates:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Write a program which does the following:
sample output
1)
Enter the wight of the packet: 15
enter the distance the package will travel: 2000
the cost will be :60.
2)
Enter the wight of the packet: 15
enter the distance the package will travel: 4000
distance must be greater than or equal to 10, or less than or equal to 3000.
the program will close!!
Explanation / Answer
in cpp: http://ideone.com/m1Apbw in c http://ideone.com/quB49M
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.