Question: QUESTION 3 Cytax Computer is a computer store that aims to boost their desktop computer sale since work from home and e-learning are the current

QUESTION 3

Cytax Computer is a computer store that aims to boost their desktop computer sale since work from home and e-learning are the current trend for working and learning. For a customer to buy their desktop online, they need to register to the system by entering their name, phone number and status either they are a student or not. By registering this information, customer will gain 100 purchase points that entitled them to use it for getting discounts for their purchase through online. The amounts of discounts in Ringgit Malaysia can be obtained based on the following equation:

Discount point = purchase points / 10.00

Finally the system will display all the informations entered by the customer, purchase points gained and discounts points.

Based on the given information, answer the following questions:

  1. Design a sequential logic structure flowchart for the registration system. Your program should have inputs, calculation and outputs process as mentioned.

  1. Develop a complete program for the registration system using C programming language based on your flowchart in Question 3(a).

  1. After conducting an interview with the store owner, a list of requirement had been given. You are requested to analyze the requirements and convert it into a proper system design. Design a complete non-module flowchart to calculate the total price user need to pay if they buy their desktop online. The requirements for the system are as follows:
  1. User need to register to the system by entering their name and mobile phone number. By registering this information, customer will gain 100 purchase points that entitled them to use it for getting a discounts points for their purchase through online. The amounts of discounts points in Ringgit Malaysia can be obtained based on the following equation:

Discount points = Purchase points / 10.00

  1. User need to enter their status, either students or not. This information will be used to determine whether they are entitled for a 5% student discounts or not.
  2. User need to enter the desktop specification of the RAM size and Hard Disk size. The specifications and price will vary based on their selection as shows in Table 2.
  3. The system will calculate the total price of the desktop based on the value of RAM size and Hard Disk size entered by the user.
  4. The system then ask the user either they want to proceed with payment for the entered desktop specification or they want to add another desktop. If user disagree to proceed with payment, the system will repeat again the same process starting with the inputs of RAM size and Hard Disk size. The system will accumulate the total price for all the entered desktops as long as the repeatation occur.
  5. After exiting the loop, the system will ask user whether they want to use their discount points for the desktop price. If user agree, the accumulated total price will be deducted with the discount points.
  6. Finally the system will print total price before discount, total price with student discount and total price with discount points.

Table 2

Specification

SIZE (GB)

PRICE (RM)

RAM

4

500

8

1000

Hard Disk

256

600

500

1000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!