Sunday, 9 August 2015

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

If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: