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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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.

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education