Question: Modify the provided Lab 1 Program.cpp such that the program asks the user to enter his/her name, weight and height. Then, apply the following
Modify the provided "Lab 1 Program.cpp " such that the program asks the user to enter his/her name, weight and height. Then, apply the following formula to find their BMI BodyMass Index) and print it to the console (screen). BMI=( weight /( height 2)703) Sample input/Output: What is your name? Jason What is your total weight (lbs.)? 170 What is your height (inches) [ 1 foot =12 inches]? 66 Jason's BMI is 27.44 Do not use any libraries we have not yet learned (i.e. cmath). Only modify the lines marked as //TODO. Attach your modified code file as your submission to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
