Program that asks for height in inches and prints it in centimetres.

#include<iostream.h>
void main ()
{
float h;
cout<<"Enter height";
cin>>h;
h=h*2.54;
cout<<"\nheight in cm= "<<h;
}

Comments

Popular posts from this blog

How to root?

Why you should root your phone?