Oman Book Center hired you to lead a programming team that will develop a billing system for their establishment. The program will start by entering the book title, distribution area, the amount of...


Oman Book Center hired you to lead a programming team that will develop a billing system for their establishment.


The program will start by entering thebook title, distribution area,the amount of bookand thenumber of books.


Thereservation fee has a fixed value of 10 OMR


Theservice fee has a fixed value of 5 OMR


 You are requested to do the following requirements:


 a.     Create a void function with no parameter that will display your student ID and student Name.


b.     Create a void function with parameters that will display the book title and the distribution area.


c.      Create a fruitful function with parameters that will compute for the order amount. The order amount is computed as amount of book multiplied by the number of books.


d.     Create a fruitful function with parameters that will compute the shipment fee. The shipment fee is computed based on the distribution area. If the distribution area is International, shipment fee is 40% of the order amount, otherwise there is no shipment fee.


e.     Create a fruitful function with parameters that will compute the total bill. The total bill is computed using the formula below:


              Total bill = order amount + service fee + shipment fee – reservation fee.


f.       Display all the outputs in your main program.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here