Q1) Write complete C++ program that will read three integer values x, y and z from keyboard then compute the following expressions independently.?

z = (2√y + ‘B’ /y) && (x-- -2 )

Q2): We introduced the body mass index (BMI) calculator. The formulas for calculating BMI are

BMI= Wight in Kilograms / height in meter * height in meter

Create a BMI calculator that reads the user’s weight in kilograms and height in meters), then calculates and displays the user’s body mass index. Also, display the following information from the Department of Health and Human Services/National Institutes of

BMI VALUES

Underweight: less than 18.5

Normal: between 18.5 and 24.9

Overweight: between 25 and 29.9

Obese: 30 or greater

Q3): Write an application that reads three nonzero integers and determines and prints whether they could represent the sides of a right triangle

Q4) Calculate the value of π from the infinite series for 20 terms.

π= 4-4/3+4/5+4/7+4/9+4/11+.......

z = (2√y + ‘B’ /y) && (x-- -2 )

Q2): We introduced the body mass index (BMI) calculator. The formulas for calculating BMI are

BMI= Wight in Kilograms / height in meter * height in meter

Create a BMI calculator that reads the user’s weight in kilograms and height in meters), then calculates and displays the user’s body mass index. Also, display the following information from the Department of Health and Human Services/National Institutes of

BMI VALUES

Underweight: less than 18.5

Normal: between 18.5 and 24.9

Overweight: between 25 and 29.9

Obese: 30 or greater

Q3): Write an application that reads three nonzero integers and determines and prints whether they could represent the sides of a right triangle

Q4) Calculate the value of π from the infinite series for 20 terms.

π= 4-4/3+4/5+4/7+4/9+4/11+.......

Topic archived. No new replies allowed.