the cost of sending a package by an express


The cost of sending a package by an express delivery service is $15 for the first two pounds, and $4.25 for each pound over two pounds.

Write a program that computes the cost of mailing the packages.  Your program must use a function to calculate the cost.  Use the test data:   1.5   16     103     lbs

The data should be read by the main program from a text file. The data is passed to the function.

               The results and any other output should be printed by the main program.

 Sample output is:

                              your name

                              Project 8                           problem 1

                   Package weight = 1.5  lbs           Shipping cost = $ 15.00

                 Student turns in an output, and two scripts.

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: the cost of sending a package by an express
Reference No:- TGS0276171

Expected delivery within 24 Hours