You are required to develop an account management system for a watch shop in Kuantan to store the customer information and the detail of the watch that bought by the customer. The system also able to calculate the selling price, the taxes of the watch, and the profit of the sold watch. Two types of the watch will be sold which are the import watch and local watches. The import watch will have a 10% import duty tax from the manufacturer price that needs to be paid to Malaysian Custom. Meanwhile, the import duty tax will not be charged to the local watch. The profit of import watch will contribute 90% from the manufacturer price; meanwhile, for the local watch, the profit will be 75% of the manufacturer price. The selling price will be calculated by adding the manufacturer, the import duty (if applicable) and the profit. Additionally, all the sold watches will have a Good and Service Tax (GST) which is 6% will be charged from the manufacturer price. Therefore, as a senior programmer, you were assigned to develop an account management system. The account management system must have FOUR (4) functions that perform a specific task. The first function works to calculate the import duty price of the watch while the profit of the watch will be calculated by the second function. The third function will calculate the GST price. The calculation of the selling price of the watch will be done in the fourth function. The name of the customer, the manufacturer price of the watch, the type of watch will be entered in the main function. The output of the system will be print in the main function as shown in Figure 1. The detailed description of each process and functions is given as follows:  The user needs to enter the customer name, identification number, the type of watch either import or local watch, and the manufacturer price in the main function.  The first function is responsible to calculate the import duty price. This function will receive the type of watch and the manufacturer price from the main function. Then, this function will return the import duty price to the main function.    The second function is about the calculation of the profit of the watch. This function will receive the type of watch and the manufacturer price from the main function. This function will return the profit price to the main function.  The third function is about the calculation of the GST price. This function will receive the manufacturer price from the main function and return the GST price to the main.  The fourth function is about the calculation of the selling price. This function will receive the manufacturer price, the import duty price, the profit price, and the GST price from the main. Then this function will return the selling price to the main function.  Finally, the system will print the detail of the account (as shown in Figure 1) in the main function. Based on the information given, write a C program of the account management system.

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

You are required to develop an account management system for a watch shop in Kuantan to
store the customer information and the detail of the watch that bought by the customer. The
system also able to calculate the selling price, the taxes of the watch, and the profit of the sold
watch.
Two types of the watch will be sold which are the import watch and local watches. The import
watch will have a 10% import duty tax from the manufacturer price that needs to be paid to
Malaysian Custom. Meanwhile, the import duty tax will not be charged to the local watch. The
profit of import watch will contribute 90% from the manufacturer price; meanwhile, for the
local watch, the profit will be 75% of the manufacturer price. The selling price will be
calculated by adding the manufacturer, the import duty (if applicable) and the profit.
Additionally, all the sold watches will have a Good and Service Tax (GST) which is 6% will
be charged from the manufacturer price.
Therefore, as a senior programmer, you were assigned to develop an account management
system. The account management system must have FOUR (4) functions that perform a
specific task. The first function works to calculate the import duty price of the watch while the
profit of the watch will be calculated by the second function. The third function will calculate
the GST price. The calculation of the selling price of the watch will be done in the fourth
function. The name of the customer, the manufacturer price of the watch, the type of watch will
be entered in the main function. The output of the system will be print in the main function as
shown in Figure 1.
The detailed description of each process and functions is given as follows:

 The user needs to enter the customer name, identification number, the type of watch
either import or local watch, and the manufacturer price in the main function.
 The first function is responsible to calculate the import duty price. This function will
receive the type of watch and the manufacturer price from the main function. Then, this
function will return the import duty price to the main function.
 
 The second function is about the calculation of the profit of the watch. This function
will receive the type of watch and the manufacturer price from the main function. This
function will return the profit price to the main function.
 The third function is about the calculation of the GST price. This function will receive
the manufacturer price from the main function and return the GST price to the main.
 The fourth function is about the calculation of the selling price. This function will
receive the manufacturer price, the import duty price, the profit price, and the GST price
from the main. Then this function will return the selling price to the main function.
 Finally, the system will print the detail of the account (as shown in Figure 1) in the main
function.

Based on the information given, write a C program of the account management system.

O FINAL EXAM BCS1023.pdf
Ų E-COMMUNITY - UNIVERSITI MA X
b My Questions | bartleby
O File | C:/Users/Acer/Downloads/FINAL%20EXAM%20BCS1023.pdf
E Apps M Gmail
YouTube
O Maps M Gmail
O YouTube
O Maps
FINAL EXAM BCS1023.pdf
3 / 12
Customer name:
Azman
Identification Card No.
8607010092273
Type of watch (L for local, I for import):
Manufacturer price (in MYR)
120.50
===== Details of account
=====
Name: Azman
Identification Card No.: 8607010092273
Selling price: RM218.11
Profit: RM90.38
Manufacturer price: RM120.50
Import duty price: RMO
Good and service Tax: RM7.23
Figure 1
8:47 AM
O Type here to search
x G 4) ENG
1
28/1/2021
近
Transcribed Image Text:O FINAL EXAM BCS1023.pdf Ų E-COMMUNITY - UNIVERSITI MA X b My Questions | bartleby O File | C:/Users/Acer/Downloads/FINAL%20EXAM%20BCS1023.pdf E Apps M Gmail YouTube O Maps M Gmail O YouTube O Maps FINAL EXAM BCS1023.pdf 3 / 12 Customer name: Azman Identification Card No. 8607010092273 Type of watch (L for local, I for import): Manufacturer price (in MYR) 120.50 ===== Details of account ===== Name: Azman Identification Card No.: 8607010092273 Selling price: RM218.11 Profit: RM90.38 Manufacturer price: RM120.50 Import duty price: RMO Good and service Tax: RM7.23 Figure 1 8:47 AM O Type here to search x G 4) ENG 1 28/1/2021 近
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Cloud Computing
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