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:
Terminal Access Controller Access Control System (TACACS+)
Explanation:
Terminal Access Controller Access Control System (TACACS+) can be used as an upgrade to RADIUS (Remote Authentication Dial-in User Service) for AAA (Authentication Authorization Accounting) services to connect wireless users to the Windows Active Directory domain.
TACACS+ is a Cisco-based wireless network that uses Transmission Control Protocol (TCP) and provides separate authentication, authorization and accounting services for users in bigger networks.
TACACS+ uses TCP port 49 while RADIUS uses UDP port 1812 and 1813.
Answer:
Nonverbal communication is the transfer of information through body language, facial expressions, gestures, created space and more.
Explanation:
For example, smiling when you meet someone conveys friendliness, acceptance and openness. Everyone uses nonverbal communication all the time whether they know it or not.
The answer is true. The Undo command is set up on the toolbar. You can undo up to 40 edits in your plan by clicking on the Undo button. If you want to undo all of the revises made, simply quit (close your Internet browser window or start a new plan) without saving.
The
Insert Tab option
You can add a shape your word, excel or PowerPoint document to
make a drawing. To do this in MS Word, click on the Insert tab, and in the illustration
group, click on the shapes option. Click the shapes or callouts that you would
like to insert and then drag to place the shape anywhere in the document.