I am doing the temperature challenge part 1, and i am literally stuck on the last step,.
My code:
#include
int main() {
double tempf = 84;
double tempc = (tempf - 32)/1.8;
std::cout << “The temp is " << tempc << " degrees Celsius.\n”;
}
Error: You did not execute the correct file, or your output is not correct.
Output: You did not execute the correct file, or your output is not correct.
Task((5): Now execute the output file using the terminal.
my prompt: g++ temperature.cpp
my second prompt: ./a.out