You are on page 1of 1

ASSIGNMENT #01 (CLO-1)

Instructions:
1. Delay submission is not accepted
Question #01:
The formula for calculating BMI index is:
weightInPounds ×703
BMI =
heightInInches ×heightInInches

Create a BMI calculator application that reads the user’s weight in pounds and height in inches,
then calculates and displays the user’s body mass index. Also, the application should display the
following information so the user can evaluate his/her BMI:

BMI VALUES
Underweight: less than 18.5
Normal: between 18.5 and 24.9
Overweight: between 25 and 29.9
Obese: 30 or greater

Question#02:
Write a program that will print following pattern on your screen
1
2*3
4*5*6
7*8*9*10
*YOUR FIRST NAME*
7*8*9*10
4*5*6
2*3
1

Question#03:
Write a C++ program that prompts the user to input the elapsed time for an event in seconds. The
program then outputs the elapsed time in hours, minutes and seconds. (For example: if the elapsed time is
9630 seconds, then the output is 2:40:30), and seconds. The program then outputs the elapsed time in
seconds.

You might also like