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 book and the number of books. The reservation fee has a fixed value of 10 OMR The service 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.
Oman Book Center hired you to lead a
The program will start by entering the book title, distribution area, the amount of book and the number of books.
The reservation fee has a fixed value of 10 OMR
The service 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.
Step by step
Solved in 4 steps with 2 images