Write a program that converts a person’s height from inches to centimeters using the formula 2.54*height.

Write a program that converts a person’s height from inches to centimeters using the formula 2.54*height.






#include<iostream>
using namespace std;
int main()
{
float i,c;
cout<<"\t Height Inches to Centimeter Convertor "<<endl;
cout<<"\n";
cout<<"Enter your height in Inches"<<endl;
cin>>i;
c=2.54*i;
cout<<"Height in Centimeter is "<<c;
}



Write a program that converts a person’s height from inches to centimeters using the formula 2.54*height.