1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
KatRina [158]
1 year ago
8

1.Know the BMI of the user. First, the user will input the height in meters and weight in kilograms. After inputting, the inputt

ed data will be processed - the weight will be divided by height in meters squared to get the BMI. The calculated BMI will be going into a decision.If the calculated BMI fall to <18.5,it well be categorised as "underweight",if <24.9,it is "normal weight";if <30,it is "over weight";and if the user got the higher result than usual,it will be categorised as "abesity".
2.Write an algorithm to compute the sum of the two given integer values. If the two
values are the same, then return triple their sum.

3.Write an algorithm to check two given integers, and return true if one of them is 30 or if their sum is 30.​

Computers and Technology
1 answer:
Verizon [17]1 year ago
3 0

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

You might be interested in
​printers, monitors,​ tablets, cpus, and laptops are examples of​ ____________.
AlladinOne [14]
​printers, monitors,​ tablets, cpus, and laptops are examples of​ ____________.

c. hardware
5 0
3 years ago
Explain why this scenario could put an organization in jeopardy of losing some of its workforce.
Ksenya-84 [330]

Answer:

Not educating its employees on the new software.

8 0
2 years ago
In 3 to 5 sentences, describe whether or not files should be deleted from your computer. Explain you answer.
daser333 [38]
I mean if your trying to delete like important files I dont think they should be deleted but that is My opinion. But if you do delete them then u could always got to the recycle bin in ur computer to get it back. I hope this helps !!
7 0
3 years ago
Read 2 more answers
Is spread spectrum transmission done for security reasons in commercial WLANs?
bearhunter [10]

Answer: No

Explanation: Spread spectrum transmission is the wireless transmission technique for the wide channel that helps in decrement of the potential interference.The transmission of signal is based on the varying the frequency knowingly to achieve larger bandwidth.

The use of spread spectrum transmission in the WLAN(wireless local area network)is used for the regulatory purpose The regulation is the controlling of the area  through policies.Thus,security is not the service that is provided to WLAN by spread spectrum transmission.

6 0
3 years ago
Which wireless communication technology is most likely used when synchronizing device information to an automobile?
seropon [69]
Bluetooth is the most reasonable answer
8 0
3 years ago
Other questions:
  • If the current through a heater coil is 5 amp and the supply voltage is 120 volts, the coil resistance is A. 0.04 ohm. B. 24 ohm
    6·1 answer
  • Smart art can be used to create _____that highlights relationships betweeen two items
    8·2 answers
  • Which word goes with "meals
    5·2 answers
  • Nonverbal communication includes _____.
    9·2 answers
  • business information management professionals also perform duties of _ information system professionals
    11·1 answer
  • Which role will grant a delegate read-only access to a particular workspace within a user’s Outlook mailbox?
    15·2 answers
  • Do you know the energy unit question?
    10·1 answer
  • File names should be limited to 144 characters.<br><br> true or false
    12·1 answer
  • Explain impact of modern technology on human life​
    5·1 answer
  • Post back maintains view state by assigning the form values to a hidden form field named ____.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!