Please use C++ programming language
and write the output to screen.
Celsius = (5/9) * (F-160)
Screenshot:-
Code:-
#include <iostream>
using namespace std;
int main()
{
double f,c;
cout<<"Enter temperature in fahrenheit : ";
cin>>f;
c= (f - 32.0) * 5.0 / 9.0;
cout<<"Temprature in Celicus is : "<<c;
return 0;
}
Get Answers For Free
Most questions answered within 1 hours.