A
Allan
I need help writing a program. I need to convert temps. from fahernheit to
celsius. This is what I have. Can someone help?
// This program is for converting temperatures recorded in Fahrenheit to
Celsius.
#include <iostream>
using std::cout; //program uses cout
using std::cin; //program uses cin
// Beginning main program
int main()
{
int outputcelsius
int userinputfahrenheit
cout <<Enter a Temperature in Fahrenheit\n";
cin >>
outputcelsius = (userinputfahrenheit-32)*(5/9)
return 0;
}
celsius. This is what I have. Can someone help?
// This program is for converting temperatures recorded in Fahrenheit to
Celsius.
#include <iostream>
using std::cout; //program uses cout
using std::cin; //program uses cin
// Beginning main program
int main()
{
int outputcelsius
int userinputfahrenheit
cout <<Enter a Temperature in Fahrenheit\n";
cin >>
outputcelsius = (userinputfahrenheit-32)*(5/9)
return 0;
}