0 Comment
#include<iostream.h>
#include<stdlib.h>
void main() //Program body start
{
int c,f; //variable declaration
cout<<"Enter the temperature in Fahrenheit:\t"; //show output Massage
cin>>f; //get input
c=5/9*f-32; //Arithmatic operation
cout<<"Temperature in Celsius:\t\t"<<c<<endl;
system("pause");
}
view raw gistfile1.cpp hosted with ❤ by GitHub

Output:

Post a Comment

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :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.

 
Top