#include <iostream>
using namespace std;
int main()
{
double meter, cent;
cout<<"Enter value in meters";
cin>>meter;
cent=meter*100;
cout<<meter<<" meters"<<" = "<<cent<<" centimeters;
system("pause");
return 0;
}
to convert more than one number put the whole program in a for loop
program to convertinches into feet
mesh's basic salary is input through the keyboard. his dearness allowance is 40% of basic salarying , and house rent allowance is 20% of basic salaried. write a program to calculate his gross salary
In meters, the dimensions of an Olympic size swimmming pool are: 2 meters deep, 50 meters long, and 25 meters wide. If 1 meter equals 100 centimeters, just multiply each dimension by 100.
Meters works well, so do centimeters
Multiply meters (mts) by 5 and divide by 8000 to get miles (mls) i.e. mls=mts x 5/8000
Your question is not clear. Static pressure in metres head converts to kilopascals: one metre of head is 10 kPa, 10 m is 100 kPa, and so on.
One foot is 30.48 centimeters, one inch is 2.54 centimeters. 5 foot 4 inches converts to 1.6256 meters, which is 162.56 centimeters.
72 inches converts to about 182.88 centimeters.
1.5 inches = 3.81 centimeters.
110 inches converts to about 2.79 meters.
meters are larger than centimeters because meters are larger than inches
5'7" converts to 1.7 meters.
1,257 meters is 125,700 centimeters.
12.5 centimeters = 4.92125984 inches.
The sum of 6 feet and 7 inches (200 centimeters) and 9 feet and 10 inches (3 meters) is 16 feet and 5 inches (500 centimeters).
5.64 feet, 67.72 inches1.72 metres converts to 5 feet 7.72 inches.
6.5 inches converts to about 0.1651 meters or165.1 millimeters.
5 feet are 152.4 centimeters 7 inches are 17.78 centimeters The sum is 170.18 centimeters