Title | Assignment CSC128 |
---|---|
Author | Nurul Ismail |
Course | Mathematics Management |
Institution | Universiti Teknologi MARA |
Pages | 8 |
File Size | 324.2 KB |
File Type | |
Total Downloads | 407 |
Total Views | 905 |
UNIVERSITI TEKNOLOGI MARAFAKULTI SAINS KOMPUTER & MATEMATIKCSCFUNDAMENTALS OF COMPUTER PROBLEM SOLVINGPROJECT PROPOSALCAR SALES MANAGEMENTGROUPD1CS1432AGROUP MEMBERSName Student No. ‘ALIA NAJAH BT ZAIDI 2018214986 NUR ARINA BT ARMAN ISMAIL 2018232682 NURUL AFIQAH BINTI ISMAIL 2018806774 NURU...
UNIVERSITI TEKNOLOGI MARA FAKULTI SAINS KOMPUTER & MATEMATIK CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
PROJECT PROPOSAL CAR SALES MANAGEMENT
GROUP D1CS1432A
GROUP MEMBERS 1. 2. 3. 4.
Name ‘ALIA NAJAH BT ZAIDI NUR ARINA BT ARMAN ISMAIL NURUL AFIQAH BINTI ISMAIL NURUL SYAZWANI BINTI ZAINUDIN
Student No. 2018214986 2018232682 2018806774 2018242848
LECTURER'S NAME MADAM WAN JUWAIRIAH BINTI WAN MANSOR
SUBMISSION DATE 18 APRIL 2019
INTRODUCTION Our team has decided to choose ‘Car Sales Management’ as our first project in CSC128. Our main purpose is to develop a system where the owner and staffs can easily access to observe every car sale for every year. Reason on why we have decided to develop this system is because the clerk always find it hard to key in every sale for each car every month. This method is a big flaw for the company as the calculation are always mistakenly calculated. It can cause the company to lose a lot of money. Therefore, this system will let the user know the amount of sales, commission, profit and amount of every car sold made by the company for every types of car yearly. Also, they can know the most preferred types of car and its colour by customer. This can benefit the company where they can improve their sales. It will also allow the user (owner) to monitor every car sales and can avoid any invalid money flow. Besides, it also can record extra car accessories sales. This system will be accessed at the end of the year by the user(owner) to know the profit made by the company so they can improve their sales for the next year.
PROBLEM DEFINITION/ ANALYSIS Analysis: To calculate commission, profit, amount every type of car and amount of sale at NAWA Automobile SDN.BHD. 1. Input: Number of cars sold, price of each car and amount every type of car sold. 2. Process: Commission = (price-original price) *percentage Profit = price-original price Amount of sales = Number of each car sold * price of each car 3. Output: commission, profit and amount of sales
OBJECTIVES 1. To develop a system where users can easily access to observe every year. 2. To calculate amount of sales, commissions and profit in every sale per year. 3. Allow the owner to easily access to manage the bookkeeping. 4. To know the most popular types of car and its colour by customers. 5. To record extra car accessories. 6. To improve their sales for the next year.
START
DECLARATION char type_car, username, resp Int password, Mcar, Bcar, Vcar, code Float originalprice, price, sales, commission, profit, accprice, newprice
Display “PLEASE ENTER USERNAME:” Get (username, 30)
Display “PLEASE ENTER PASSWORD: ” Get password
If (strcmp username == nawaauto Password == 00000
Display “HELLO” Display “YOU ENTERED WRONG USERNAME OR PASSWORD”
Display “WELCOME TO NAWA AUTOMOBILE BOOKKEPING SYSTEM”
Display “M, B, V” Get type_car
Type car==’M’
Display sold that year Get Mcar
Original price=32550 Price=35500 Commission=0.03*(priceoriginalprice) Sales=price*Mcar Profit=(price-originalprice) *Mcar
Diplay sold that year Type car== ‘V’
Get Vcar
Original price=20700 Price=23400 Commission=0.03*(price-originalprice) Sales=price*Vcar Profit=(price-originalprice)*Vcar
Diplay sold that year
Type car ==’B’
Get Bcar
Original price=40000 Price=45000 Commission=0.03*(price-originalprice) Sales=price*Bcar Profit=(price-originalprice)*Bcar
Display “INVALID”
Display “DO YOU WANT TO ADD ANY EXTRA ACCESSORIES (Y/N)
If Code==’1’
Accprice=50
If Code==’2’
If
Accprice=200
Accprice=20
Code==’3’
Display “INVALID”
Display infoemation Display “Type of car”,type_car,endl Display “Commission received”,commission,endl Display “yearly sales”,sales,endl Display “total cost:RM”,newprice,endl
End...