1 Comment
#include<iostream.h>
#include<stdlib.h>
void main()
{
int k,c,f; //variable declaration
cout<<"Enter temperature in kelvin:\t"; //output massage
cin>>k; //input
f = k*1.8-459.67; //arithmetic operation
cout<<"Temperature in Fahrenheit:\t"<<f<<endl;
c = k-273.15; //arithmetic operation
cout<<"Temperature in Centigrade:\t"<<c<<endl;
system("pause");
}
view raw gistfile1.cpp hosted with ❤ by GitHub

Output:

Post a Comment

  1. Casino Sites India Reviewed and Honest
    Best Casino Sites With Cashout Percentage 온라인 바카라 – 1xBet. 5-star 온라인바카라 · 1xBet. 1xBet. 100% Welcome Bonus. Deposit £10, Get 스트라이크존 100 Spins · 1xBet. 100% up to · 먹튀 신고 1xBet. 100% Up to 벳인포해외배당흐름 Rs

    ReplyDelete

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