New guy here. I'm barely in my second C++ class, and we are doing some review and I cannot figure out why this won't give me what I want. The problem is to create a function to convert Fahrenheit to Celsius. It's to be enclosed in a loop so that my output is a list that shows what 1-20 degrees fahrenheit is in Celcius. This is my code:
// Celcius Temperature Table
#include <iostream>
#include <iomanip>
using namespace std;
I can't see what is wrong, but whenever I compile it, it loops like it should and lists Fahrenheit 1-20, but in the celcius column every value is 0.0. Can someone help me out, or at least give me a hint about what I'm doing wrong?
Bookmarks