Questions:
Fahrenheit to Réaumur Converter
Code:
Output
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 |
0 Questions:
Post a Comment