Download presentation
Presentation is loading. Please wait.
Published byCuthbert Nickolas King Modified over 8 years ago
1
KEEP SLIM NURIZATI KHAIRUNNISA BT MOHAMAD NAJIB (2120098) HABIBAH BT HASAN (2120086)
2
INTRODUCTION Body Mass Index or BMI is very important for us to know and take it as a serious matter.This is because BMI is a part to know the stage of our healthy.In BMI there are three stage in BMI for us to measure our healthy. 1)17 and below underweight 2)18 - 23 Normal weight 3)23 and above overweight In manually,to calculate our BMI,we just need to know our height(m) and weight(kg).Below is a formula to calculate our BMI. BMI = ( KG )/( M^(2 ) ) Every time, after we calculate our BMI we will just forget about it and continue our daily activities.Hence, there is no for us to calculate our BMI as we don’t take any action if our BMI is overweight or underweight.Besides that, if we calculate manually, we cannot keep it properly.
3
Thus,we had organized a system for us to calculate BMI easily especially for National Defence University of Malaysia students.Throught this system, we don’t have to calculate manually because our system will help you to calculate it.You can also print your BMI result and keep it properly and take the action to make sure that your BMI is always in normal range.In our system, you only need to enter some of your personal details, weight(kg) ang height(m).After you enter all your details, your need to recheck it back in order to make sure there are totally right details is enter.Next, you just need to wait for a second in order the system to calculate your BMI.After your BMI result appear,you can plan wheather you want to print it or just want to know it.Then,you can plan your daily routine in order to maintain or increase or decrease your BMI to it it in an ideal range.You can also ask for advice from doctor if your BMI is underweight or overweight. Finally, lets us calculate our BMI to stay healthy and happily without any worries…=)
4
STORYBOARD GET YOUR IDEAL BMI THROUGH… ‘NDUM BODY MASS INDEX SYSTEM’ Please select your status : CADET CIVILION Please complete your personal detail….. Name : Matric No : Military No : Battalion : Age : Height (m) : Weight (kg) : Press ENTER key to continue Press B key for main menu
5
Please complete your personal detail….. Name : Matric No : I/C No : Age : Height (m) : Weight (kg) : Press ENTER key to continue Press B key for main menu Recheck your personal detail…… Please make sure your personal detail is true and up-to-date Name : Matric No : Military / IC No : Height (m) : Weight (kg) : Press E to edit Press ENTER to continue
6
“YOUR BUSINESS IS IN PROGRESS” PLEASE WAIT FOR A SECOND RESULT Name : Matric No : Military / IC No : YOUR BMI IS CONGRATULATION!! YOU HAVE ACHIVE AN IDEAL BMI !!! Press P for print Press F for finish
7
YOU HAVE COMPLETE YOU BUSINESS THANK YOU !!! YOU CAN UPDATE YOUR BMI ANY TIME…….
8
Overall flowchart
9
FLOWCHART START PAPARAN MENU UTAMA CADE T KEMASUKAN BUTIR ( CADET ) OPTION YES KEMASUKAN BUTIR (CIVILION) OPTION BACK ENTER BACK ENTER A B C
10
PROSES PENDAFTARAN PAPARAN BUTIR EDIT OPTION CADET IN PROGRESS NO NO RESULT A C B D
11
OPTION PROCESS PAPARAN AKHIR END PRINT FINISH D
12
Overall flowchart
13
ALGORITHM PAGE 1 Display main page “GET YOUR IDEAL BMI THROUGH…” “ ‘NDUM BODY MASS INDEX SYSTEM’ ‘ Prompt user to select their status “CADET” or “CIVILION” Input the status If user input “CADET” Display personal details requirement for cadet officer Else Display personal details requirement for civillion students
14
PAGE 2 Display personal details of cadet officer Prompt user to enter the personal details requirement “Name”,”Matric no.”, “Military no.”, “Battalion”, “Age”,“Height(m)” and “Weight(kg)”. Display “ENTER” and “B” key Prompt user to select the key If user input “ENTER” Display the conformation of personal details Else Display back the main page
15
PAGE 3 Display the personal details requirement of civillion students Prompt user to enter all the personal details requirement “Name”, “Matrix no”, “I/C no”, “Age”, “Height(m)” and “Weight(kg)” Display “ENTER” and “B” key Prompt user to select the key If user input “ENTER” Display the conformation of personal details Else Display back the main page
16
PAGE 4 Display the conformation of personal details Prompt user to select “E” to edit or “ENTER” to continue Input the “E” or “ENTER” key If user input “E” Display page 3 or page 2 Else Display the page “ YOUR BUSINESS IS IN PROGRESS” “PLEASE WAIT FOR A SECOND” PAGE 5 Display “YOUR BUSINESS IS IN PROGRESS” “PLEASE WAIT FOR A SECOND”
17
PAGE 6 Display the result of your BMI Prompt user to enter “P” for print or “F” to finish Input the “F” or “P” key If user input “P” Display the print process Else Display the “YOU HAVE COMPLETE YOUR BUSINESS” “THANK YOU!!!” “YOU CAN UPDATE YOUR BMI “ “ANY TIME….;)”
18
PSEUDOCODE Variable status = status (cadet) name = name_cadet matrix no = matrix military no = military_cadet battalion = battalion_cadet age = age_cadet height = height_cadet weight = weight_cadet (civillion) name = name_civi matrix = matrix_civi I/C no = ic_civi age = age_civi height = height_civi weight = weight_civi select = choice choice1 choice2
19
Initialization initialize status as integer initialize name_cadet as character initialize matrix as character initialize military_cadet as character initialize battalion_cadet as character initialize age_cadet as character initialize height_cadet as character initialize weight_cadet as character initialize name_civi as character initialize matrix_civi as character initialize ic_civi as character initialize age_civi as character initialize height_civi as character initialize weight_civi as character initialize choice as character initialize choice1 as character initialize choice2 as character initialize BMI as integer
20
While user does not select any status “CADET” or “CIVILLION” Display main page “GET YOUR IDEAL BMI THROUGH…” “ ‘NDUM BODY MASS INDEX SYSTEM’ ‘ Prompt user to select their status Input the “status” If user input “CADET” Display personal details requirement for cadet officer Else Display personal details requirement for civillion students
21
While user does not enter “ENTER” or “B” Display the personal details requirement page Prompt user to enter the personal details requirement“name_cadet”, “matrix”, “military_cadet”, “battalion_cadet”, “age_cadet”, “height_cadet”, and “weight_cadet” Display “ENTER” and “B” key Prompt user to select the key Input “choice” If user input “ENTER” Display the conformation of personal details Else Display back the main page
22
While user does not enter “E” or “ENTER” key Display the conformation of personal details Prompt user to select “E” to edit or “ENTER” to continue Input the “choice1” If user input “E” Display page 3 or page 2 Else Display the page “ YOUR BUSINESS IS IN PROGRESS” “PLEASE WAIT FOR A SECOND”
23
While user input “ENTER” key Display the BMI result after a few second Prompt user to enter “P” for print or “F” to finish Input the “choice2” If user input “P” Display the print process Else Display the “YOU HAVE COMPLETE YOUR BUSINESS” “THANK YOU!!!” “YOU CAN UPDATE YOUR BMI “ “ANY TIME….;)” The system will be back to the main page after 15 second
24
PROGRAMMING
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.