Searching...

Length Conversion.

15:58


#include <iostream>
using namespace std;
int main ()
{
double meters,inche,centimeter;
cout << "Enter length in meters:"<<endl;
cin >> meters;
inche=39.370079*meters;
centimeter=100*meters;
cout << "length in inches is = "<< inche <<endl;
cout << "length in cent is = " << centimeter << endl;
return 0;
}

0 comments:

Post a Comment

Thanks For Your FeedBack....

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.