Temperature Scale Ranges
°C: degree Celsius (centigrade), °Re: Réaumur, °F: degree Fahrenheit, K: Kelvin, °Ra: RankineScale Factor | °C | °Réaumur | °F | K | °Rankine | |
Boiling point of water at 1 atmosphere | 100 | 80 | 212 | 373.15 | 671.67 | |
Freezing point of water at 1 atmosphere | 0 | 0 | 32 | 273.15 | 491.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 |
0 Questions:
Post a Comment