letsgivepece2309
letsgivepece2309
05.05.2020 • 
Mathematics

The cost of sending a package by an express delivery service is $15.00 for the first two pounds and $5 for each pound or fraction thereof over two pounds. If the package weighs more than 70 pounds, a $1500 excess weight surcharge is added to teh cost. No package over 100 pounds will be accepted. Using the if construct, write a MATLAB program that asks for the weight of a package in pounds and displays the resulting cost of mailing the package. Be sure to handle the case of overweight packages and those under 2 pounds.

Solved
Show answers

Ask an AI advisor a question