< SPORTWORLD
TITLE:
CENTER ONLINE >
GROUP MEMBERS :-
IZZAT HAQKIMI BIN RUZAIN (2022493668) [ Main Coder ]
MUHAMMAD AMIR ASYRAF BIN MOHAMED TAHA (2022851684) [ Coding planner ]
MUHAMMAD IZWAN BIN MUHAMMAD FAIZAL (2022870376) [ Coding tester ]
MUHAMMAD AMRI IZWAN BIN JAMALUDIN (2022892814) [ Main coder ]
PRESENTATION OUTLINE
• Introduction
• Objective
• List of Repetition & function
• Project Design (Demo)
INTRODUCTION
• The Idea
We decided to do Online sport shop system so we can sell our product more
efficiently. Our system will ask customer which sportwear or sport equipment they
want . Sportwear category will be divided according to male & female gender. The
system will display the available options in the sportwear category for the customer
who select the category.
The system will repeat in the sportwear category for users who want to select more
than one option. Then system will ask whether they want to proceed with bill or they
want to go to Sport Equipment section. If they want Sport Equipment, Then, the
system will display option table for sport equipment. It have the same process that we
have implement in the sportwear option. The system when the user enter is sentinel
value. Its easier for customer to understand.
OBJECTIVE
• To provide and sell SPORTWEAR and SPORT EQUIPMENT to the user.
• To create online platform to make it easier and convenient for customer to
get hands on our product.
• To offer customer a user friendly service.
• To store daily record of sales and purchase that have been made in a
single day.
PROJECT ANALYSIS
• IPO TABLE
PROJECT ANALYSIS
Control structure
We are using 3 type control structure :-
- Selection
•We implement selection control structure to let the user determine the type of item that they want to purchase. As an
example we are using if-else to let the user choose their own item in the program
- Sequence
•We implement sequence control structure in this program to calculate a total. For an example, we are using sequence
control structure to calculate the total amount for the user to pay.
- Loop
•We implement loop control structure in this program to repeat a certain part in this program. As an example, we are
using do-while to repeat the process in that part. So that user can keep make a purchase as long as they want.
PROJECT ANALYSIS : Multi-way
Control structure
Selection : two-way
PROJECT ANALYSIS
Control structure
Loop :
PROJECT ANALYSIS
Control structure
Nested selection and Loop:
PROJECT ANALYSIS
List of function
- string table () [
- Value returning function without parameter
- void gender ( ) {
•void Function without parameter
- int table () {
•Value returning function without parameter
- module sportwearBottom (int codeM , int &Jqty, int &Tqty, int &Hqty, int &Sqty, int &TRqty, int &running, int &football, int &badminton,
double &Jprice,
double &Tprice, double &Hprice, double &Sprice, double &TRprice, double &Rprice, double &Fprice, double &Bprice)
•Value returning function with parameter
- int tableSE () {
• Value returning function without parameter
PROJECT ANALYSIS
- double sportequipment(int codeSE, int &bag, int &bottle, int &cap, int &headband, int &lanyard, double &BAprice,
double &bprice,
double &Cpprice, double &Hbprice, double &Lprice) {
> Value returning function with parameter
- string shipping () {
•Value returning function without parameter
- double areaPost (string Dcode, string &area) {
•Value returning function with parameter
- double payment(string &Pmethod) {
•Value returning function with parameter
List of Repetition
PROJECT DESIGN Demo :
- Sample 1
PROJECT DESIGN Demo : - Sample 2
OFFICIAL RECEIPT