Showing posts with label Temperature 5 Scale Converter. Show all posts
Showing posts with label Temperature 5 Scale Converter. Show all posts

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:

Read More

kelvin Temperature to Celsius Temperature converter in c plus plus

Leave a Comment
Code:

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



Output:


Read More

Sunday, 9 August 2015

Kelvin to Celsius Converter

Leave a Comment

Temperature Scale Ranges

°C: degree Celsius (centigrade), °Re: Réaumur, °F: degree Fahrenheit, K: Kelvin, °Ra: Rankine
Scale Factor°C°Réaumur°FK°Rankine
Boiling point of water
at 1 atmosphere
10080212373.15671.67
Freezing point of water
at 1 atmosphere
0032273.15491.67




Questions:

Kelvin to Celsius Converter

Code:

// Kelvin to Celsius Converter
#include<iostream>
using namespace std;

//Prototype
float Kelvin_to_Celsius(float);
void main()
{
       //Title
       cout<<"Kelvin to Celsius Converter by cppexamples.blogspot.com"<<endl<<endl;
       float Kelvin=0;
       cout<<"Enter Kelvin = ";
       cin>>Kelvin;
       cout<<"Celsius === "<<Kelvin_to_Celsius(Kelvin)<<endl;
}

//Defination
float Kelvin_to_Celsius(float Kelvin){
return Kelvin*0.8;
}

Output
Kelvin to Celsius Converter
Kelvin to Celsius Converter

Read More

Celsius to Réaumur Converter

Leave a Comment

Temperature Scale Ranges

°C: degree Celsius (centigrade), °Re: Réaumur, °F: degree Fahrenheit, K: Kelvin, °Ra: Rankine
Scale Factor°C°Réaumur°FK°Rankine
Boiling point of water
at 1 atmosphere
10080212373.15671.67
Freezing point of water
at 1 atmosphere
0032273.15491.67

Questions:

Celsius to Réaumur Converter

Code:

// Celsius to Réaumur Converter
#include<iostream>
using namespace std;

//Prototype
float Celsius_to_Réaumur(float);
void main()
{
       //Title
       cout<<"Celsius to Réaumur Converter by cppexamples.blogspot.com"<<endl<<endl;
       float Celsius=0;
       cout<<"Enter Celsius = ";
       cin>>Celsius;
       cout<<"Réaumur === "<<Celsius_to_Réaumur(Celsius)<<endl;
}

//Defination
float Celsius_to_Réaumur(float Celsius){
return Celsius*0.8;
}





Output
Celsius to Réaumur Converter
Celsius to Réaumur Converter

Read More

Celsius to Rankine Converter

Leave a Comment
Questions:

Celsius to Rankine Converter

Code:

// Celsius to Rankine Converter
#include<iostream>
using namespace std;

//Prototype
float Celsius_to_Rankine(float);
void main()
{
       //Title
       cout<<"Celsius to Rankine Converter by cppexamples.blogspot.com"<<endl<<endl;
       float Celsius=0;
       cout<<"Enter Celsius = ";
       cin>>Celsius;
       cout<<"Rankine === "<<Celsius_to_Rankine(Celsius)<<endl;
}

//Defination
float Celsius_to_Rankine(float Celsius){
return Celsius*1.8 + 32 + 459.67;
}




Output
Celsius to Rankine Converter
Celsius to Rankine Converter

Read More

Celsius to Kelvin Converter

Leave a Comment
Questions:

Celsius to Kelvin Converter

Code:

// Celsius to Kelvin Converter by cppexamples.blogspot.com

#include<iostream>
using namespace std;

//Prototype
float Celsius_to_Kelvin(float);
void main()
{
       //Title
       cout<<"Celsius to Kelvin Converter by cppexamples.blogspot.com"<<endl<<endl;
       float Celsius=0;
       cout<<"Enter Celsius = ";
       cin>>Celsius;
       cout<<"Kelvin === "<<Celsius_to_Kelvin(Celsius)<<endl;
}

//Defination
float Celsius_to_Kelvin(float Celsius){
return Celsius+273.5;
}


Output


Read More

Fahrenheit to Réaumur Converter

Leave a Comment
Questions:

Fahrenheit to Réaumur Converter

Code:

// Fahrenheit to Réaumur Converter

#include<iostream>
using namespace std;

//Prototype
float Fahrenheit_to_Réaumur(float);
void main()
{
       //Title
       cout<<"\tFahrenheit to RéaumurConverter"<<endl<<endl;
       float fahrenheit=0;
       cout<<"Enter Fahrenheit = ";
       cin>>fahrenheit;
       cout<<"Réaumur=== "<<Fahrenheit_to_Réaumur(fahrenheit)<<endl;
}

//Defination
float Fahrenheit_to_Réaumur(float fahrenheit){
return (Fahrenheit-32)/2.25;
}




Output

Fahrenheit to Réaumur Converter
Fahrenheit to Réaumur Converter

Read More

Celsius to Fahrenheit Converter

Leave a Comment
Questions:

Celsius to Fahrenheit Converter

Code:

// Celsius to Fahrenheit Converter

#include<iostream>
using namespace std;

//Prototype
float Celsius_to_Fahrenheit(float);
void main()
{
       //Title
       cout<<"\tCelsius to Fahrenheit Converter"<<endl<<endl;
       float Celsius=0;
       cout<<"Enter Celsius = ";
       cin>>Celsius;
       cout<<"Fahrenheit === "<<Celsius_to_Fahrenheit(Celsius)<<endl;
}

//Defination
float Celsius_to_Fahrenheit(float Celsius){
return Celsius*1.8+32;
}






Output

Celsius to Fahrenheit Converter
Celsius to Fahrenheit Converter

Read More

Fahrenheit to Rankine Converter

Leave a Comment
Questions:

Fahrenheit to Rankine Converter

Code:

// Fahrenheit to Rankine Converter

#include<iostream>
using namespace std;

//Prototype
float Fahrenheit_to_Rankine(float);
void main()
{
       //Title
       cout<<"\tFahrenheit to Rankine Converter"<<endl<<endl;
       float fahrenheit=0;
       cout<<"Enter Fahrenheit = ";
       cin>>fahrenheit;
       cout<<"Rankine === "<<Fahrenheit_to_Rankine(fahrenheit)<<endl;
}

//Defination
float Fahrenheit_to_Rankine(float fahrenheit){
return fahrenheit+459.67;
}




Output

Fahrenheit to Rankine Converter
Fahrenheit to Rankine Converter

Read More