Comprog Final (1)
Comprog Final (1)
SCHOOL OF ENGINEERING
COLLEGE PARK, DIPOLOG CITY
School: The school could use the program as an educational tool, especially in health and physical
education classes. It may also be a tool for the school nurse or health clinic to help assess students’ health
during check-ups or health drives. By raising awareness of BMI and healthy weight, the school can create
a culture that values physical health, nutrition, and fitness among students and staff. The ability to input
weight in pounds and height in inches makes the program versatile and easy to integrate into various
health-related activities within the school.
Community: Community members could use the program to learn more about their health, helping raise
awareness of health issues related to BMI. The program could be used at community events, health fairs,
or public health campaigns to promote general wellness and health awareness. By offering a tool that
accepts both metric and imperial units, the program can cater to a wider audience. Local health
workshops can use the program to engage the community in discussions about nutrition, exercise, and
healthy living. This involvement can foster a community-wide effort towards better health practices.
Final Code
#include <iostream>
using namespace std;
int main() {
float weight, height, bmi;
int weightUnit, heightUnit;
cout << "Your BMI is: " << bmi << endl; //Outputs calculated BMI