Healthcheck to check the health status


Write an object oriented program in C++ that declares a class called healthcheck to check the health status of a person based on their body mass index. The class should have the following data members: weight(in kg), height (in meters) and BMI. It should declare three member functions one to input the data, the other to check the status and the third to output the status. The program accepts a user input weight & height and calculates the BMI (Body mass index). It then determines and outputs the risk factor associated with the BMI based on the following categories: (underweight below 18.5, normal between 18.5 and 25, overweight above 25 upto 30, obese above 30 ) BMI = weight/(height * height). The program should create two objects.

Request for Solution File

Ask an Expert for Answer!!
Other Management: Healthcheck to check the health status
Reference No:- TGS0537428

Expected delivery within 24 Hours