WAP TO CONVERT DISTANCE IN FEET OR INCHES.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int feet,inch;
cout<<"Enter the feet";
cin>>feet;
inch=feet*12;
cout<<"The feet converted in inch is:"<<"\n"<<inch;
getch();
}
Comments
Post a Comment