Saturday, 26 September 2015

kelvin Temperature to Fahrenheit Temperature converter in c plus plus

Leave a Comment
Code:

// kelvin Temperature to Fahrenheit Temperature converter in c plus plus
#include<iostream>
using namespace std;
void main()
{
       float kelvin,Fahrenheit=0;
       cout<<"Enter Temperature in kelvin = ";
       cin>>kelvin;
       Fahrenheit=(kelvin*1.8)-459.67;
       cout<<"Temperature in Fahrenheit = "<<Fahrenheit<<endl;
}


Output:

If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: