//prg to ask your height & convert into feet & inches
//Downloaded From www.c4cpp.co.nr. (C)2009.All rights reserved.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float h,i,f;
cout<<"Enter your heught in cms :"<<endl;
cin>>h;
f=h/30.48;
cout<<"Height in feets :"<<f<<endl;
i=h/2.54;
cout<<"Height in inch :"<<i<<endl;
getch();
}
Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]
Height to Yard,Feet & Inches
Click Here To Download C++ File Of This Program
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment