The program that checks the BMI of a patient is given below:
<h3>THE CODE</h3>
#include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
// C++ program to illustrate
// how to calculate BMI
float BMI(float height, float weight)
{
float bmi = weight / pow(height, 2);
return bmi;
}
int main()
{
float height = 1.79832;
float weight = 70;
// Function call
float bmi = BMI(height, weight);
cout << "The BMI is " << setprecision(15) << bmi
<< " so ";
// Conditions to find out BMI category
if (bmi < 18.5)
cout << "underweight";
else if (bmi >= 18.5 && bmi < 24.9)
cout << "Healthy";
else if (bmi >= 24.9 && bmi < 30)
cout << "overweight";
else if (bmi >= 30)
cout << "Suffering from Obesity";
return 0;
}
// This code is contributed by aarohirai2616.
<h3>Output: </h3>
The BMI is 21.64532402096181 so Healthy
Read more about algorithms here:
brainly.com/question/24953880
#SPJ1
Answer:
The term "Local storage"denotes data that is being stored on devices like a universal serial bus (USB) thumb drive, laptop, server, DVD, CD, or server. The term "hosted storage," "Internet storage" or "cloud storage." denotes data that exists in a mobile state on the network, such as data on the Internet, wireless networks, or a private network
<h2>
Answer:</h2>
The following statement is TRUE.
LearnSmart (the "smart flash card assignments") really gets your competitive spirit in gear by allowing you to see where you stand as compared to your classmates in terms of your mastery of grammar and vocabulary concepts.
<h2>
Explanation:</h2>
LearnSmart is an adaptive technology that is helping a lot of students by letting them judge which parts/topics of the book are not clearly learnt by them and which of them are under their grip.
LearnSmart provides cards with short term questions that make i possible for students to complete their preparation in short time. In addition to this smart flash card assignments are a to compare students preparation relatively.
<h3>I hope it will help you!</h3>
Answer:
Rename a file or folder
Explanation:
1.Right-click on the item and select Rename, or select the file and press F2 .
2.Type the new name and press Enter or click Rename.
Non-Volatile Random Access Memory