198k views
4 votes
Hannah weighs 210 pounds using the English System of measurement. If we convert her weight to the Metric System, she would weigh 95.34 kilograms. If Jessica weighs 145 pounds using the English System, what is her weight using the Metric System. To convert pounds from the English System to kilograms using the Metric System you multiply the number of pounds by .454 to get the number of kilograms. Write a program that will prompt the user for a weight, measured in pounds, and convert the weight to kilograms.

User Mgsdew
by
6.8k points

1 Answer

7 votes

Answer:

Check the explanation

Step-by-step explanation:

C++ PROGRAM

#include <iostream>

using namespace std;

int main()

{

float pounds;

float kilograms;

cout<<"Please enter the weight in pounds :";

cin>>pounds;

kilograms=pounds*0.454;

cout<<"The weight in Kilogram is:"<<kilograms<<"kilograms";

return 0;

}

Kindly check the attached image below for the code output.

Hannah weighs 210 pounds using the English System of measurement. If we convert her-example-1
User Reimer Behrends
by
6.4k points