KEEP SLIM NURIZATI KHAIRUNNISA BT MOHAMAD NAJIB (2120098) HABIBAH BT HASAN (2120086)

Slides:



Advertisements
Similar presentations
B - body M - mass I - index. The body mass index (BMI), or Quetelet index, is a measure for human body shape based on an individual's weight and height.
Advertisements

Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Java Programming Practice.
Calculating Body Mass Index (BMI) Body Mass Index (BMI) is used to assess a persons body weight. The number given allows you to see if you are underweight,
Body Mass Index. What is Body Mass Index(BMI)? measurement of body fat based on height and weight.
Formulas 5 5.1Sequences 5.2Introduction to Functions 5.3Simple Algebraic Fractions Chapter Summary Case Study 5.4Formulas and Substitution 5.5Change of.
How To Complete The Quiz?  You will need to answer 9 questions START  Click on the answer YOU think is CORRECT  When you click on the answer you will.
TH-OCR NK. content introduction go to next page background assumptions overall structure chart IPO for overall structure dataflow diagram of overall structure.
Chapter 4 Handling the Client Request: Form Data.
HEALTHLY LIVING BUNCH OF 5 !!!. What Maths can be found in the concept of Healthy Living? Brainstorm in groups.
WHAT IS BMI? BMI BODY MASS INDEX- BASED ON HEIGHT AND WEIGHT TO DETERMINE AMOUNT OF FAT AN INDIVIDUAL HAS OBESE BMI > 30.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 62 – Manipulating Data Using Methods – Day 1.
Introduction to PASS, and Exercises on Operators and Basic I/O.
PROBLEM SOLVING & ALGORITHMS CHAPTER 5: CONTROL STRUCTURES - SELECTION.
1 Building Java Programs Chapter 5 Lecture 5-1: while Loops, Fencepost Loops, and Sentinel Loops; Procedural Design reading: 5.1 – 5.2; 4.5.
Managing Weight and Body Composition. Maintaining a Healthy Weight Body Image: The way your see your body For many people, it can be tied to perception.
How to Calculate Your Body Mass Index (BMI)
Mark Dixon 1 07 – In-class test. Mark Dixon 2 In-class Test Date: Monday 5 th November 2012 Time: 11:05-120:55 Location: SMB109 Type: Individual 40% of.
Body Weight Management Do Now: List 3 types of physical activity you can do or have done in the past week.
ICa i e sr lo. ONE Design Statement Nowadays, a lot people wants to be healthy or loss weight. In project 1, I decided to do a Calories calculator for.
Building Java Programs Chapter 4 Lecture 4-1: Scanner ; cumulative algorithms reading: 3.3 – 3.4, 4.2.
How many calories would you burn in a one mile run?
objective By the end of this lesson, you will be able to :  Identify the accurate ways to measure and record height and weight.
Local Government Corporation Resource 2016 NextGen Trustee Year End.
Introduction to Loop. Introduction to Loops: The while Loop Loop: part of program that may execute > 1 time (i.e., it repeats) while loop format: while.
The Department of Engineering Science The University of Auckland Welcome to ENGGEN 131 Engineering Computation and Software Development Lecture 2 Debugging,
CSc 110, Autumn 2016 Lecture 9: input ; if/else Adapted from slides by Marty Stepp and Stuart Reges.
NYS Payroll Online Self Service
NYS Payroll Online Self-Service
Starter What does the following code do?
How to Calculate Your Body Mass Index (BMI)
GCSE COMPUTER SCIENCE Practical Programming using Python
Control Structure: Multiple Selections
REPETITION CONTROL STRUCTURE
IPO Charts Basic Design.
Lesson 16 Sub Procedures Lesson 17 Functions
Welcome to Employee Self Service
Obesity, starvation and BMI
Matrix Equations Step 1: Write the system as a matrix equation. A three-equation system is shown below. First matrix are the coefficients of all the.
CS1371 Introduction to Computing for Engineers
Building Java Programs
CSc 110, Autumn 2016 Lecture 12: Advanced if/else; Cumulative sum
Weightproblems by teenagers
Lisa Wilkinson Krystal Carvalho
Building Java Programs Chapter 4
Chapter 4 TCP 서버/클라이언트 u-Network Design Lab 3.
CSc 110, Spring 2018 Lecture 17: while Loops and decomposition
EEE425 PROGRAMMING LANGUAGE Body Mass Index AND Age Calculator
APPLICATION PROCESS Parents access the web address: to be on the “Welcome to Admissions Online Application for 2019” page.
Input from the Console This video shows how to do CONSOLE input.
Chapter 5: Control Structure
TIERING ACTIVITY FITNESS.
Factoring if/else code
Building Java Programs
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
Flowcharts and Pseudo Code
Individual Caloric and Nutritional Needs
Building Java Programs
Building Java Programs
Building Java Programs
Building Java Programs
Basic Lessons 5 & 6 Mr. Kalmes.
FIGURE 1 Analytic framework for systematic reviews on types and amounts of CFBs consumed and growth, size, and body ... FIGURE 1 Analytic framework for.
Chapter 2 - Algorithms and Design
Building Java Programs
Building Java Programs
Building Java Programs
Chapter 4 Lecture 4-1: Scanner; if/else reading: 3.3 – 3.4, 4.1, 4.5
Factoring if/else code
Building Java Programs
Building Java Programs
Presentation transcript:

KEEP SLIM NURIZATI KHAIRUNNISA BT MOHAMAD NAJIB ( ) HABIBAH BT HASAN ( )

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) 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.

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…=)

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

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

“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

YOU HAVE COMPLETE YOU BUSINESS THANK YOU !!! YOU CAN UPDATE YOUR BMI ANY TIME…….

Overall flowchart

FLOWCHART START PAPARAN MENU UTAMA CADE T KEMASUKAN BUTIR ( CADET ) OPTION YES KEMASUKAN BUTIR (CIVILION) OPTION BACK ENTER BACK ENTER A B C

PROSES PENDAFTARAN PAPARAN BUTIR EDIT OPTION CADET IN PROGRESS NO NO RESULT A C B D

OPTION PROCESS PAPARAN AKHIR END PRINT FINISH D

Overall flowchart

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

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

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

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”

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….;)”

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

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

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

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

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”

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

PROGRAMMING