Question: CCCS 111 - Introduction to Programming University of Jeddah Programming Assignment #1 Points: 2 CLO S2 Summary Write a program that computes a person's body

 CCCS 111 - Introduction to Programming University of Jeddah Programming Assignment

CCCS 111 - Introduction to Programming University of Jeddah Programming Assignment #1 Points: 2 CLO S2 Summary Write a program that computes a person's body mass index (BMI) and tells the user in what range the BMI value lies. Program Description Program should ask user for the following inputs: 1. Height in centimeters 2. Weight in kilograms The program then computes the BMi according to the following formula: 10,000 x Weight BMI Height x Height The program then prints out the calculated BMI value. It also prints out a message that explains in which range the BMI value falls. . If the BMI is less than 18.5 the person is "underweight . If the BMI is between 18.5 and 24.9 the person is "normal weight if the BMI is between 25 and 29.9 the person is overweight" If the BMI is 30 or greater the person is "obese" Hint: Make sure you use appropriate data types for variables Submission Instructions Upload a Word document or PDF file that contains the following: 1. Source code (CPP file) of your program 2. Also include a screenshot of the console window output of your program when enter your data into the program

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!