0 Comment
#include<iostream.h>
#include<stdlib.h>
void main() //Program body start
{
int tc,tf; //variable declaration
cout<<"Enter the temperature in Celsius:\t"; //show output Massage
cin>>tc; //get input
tf=9/5*tc+32; //Arithmatic operation
cout<<"Temperature in Fahrenheit:\t"<<tf<<endl;
system("pause"); //For output screen still display
}
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