I need help with my C++ assignment please. It has to be handed in next week.
Write a program that reads in a distance in miles, then calculates and displays the corresponding shipping cost. Each shipment incurs a fixed cost of £50 and the price per mile is calculated according to the rules below
•Each of the first 100 miles (inclusive) cost £5.50
•Over 100 miles and up to 500 miles (inclusive): £4.00 per mile.
•Over 500 miles: £2.50 per mile.
For example, the cost of shipment over a distance of 550.50 miles is £2326.25
(i.e., £50 + (100*5.5) + (400*4.0) + (50.5*2.5)).
if the user enters a negative amount or zero for the distance the program should display an error message
Thank you ever so much.
Dread it, run from it, the end of summer arrives all the same. And now it's here. It’s finally August.…
APPROVED BY CLIENTS
Hi, everything was perfect. Thank you so much, I am very happy with my assignment!! I will definitely use this website again.
Thanks a lot, I really appreciate your effort to finish my assignment as soon as possible.
I am very grateful!!!!