202 Posted Topics
Re: Even though its solved here's a solution: #include <iostream> using namespace std; int main() { float temp = 0; int countDays = 0; while(temp > -100) { cout << "Temperature of first day (-100 for end of input): "; cin >> temp; if(temp > 20) { countDays++; } else { … | |
I finally broke down and wrote my first header file, but one of my functions is acting a little weird... This function is supposed to convert from Celsius to Fahrenheit but whenever I call the function, it returns an incorrect value. Is there an easy way to multiply the float … |
The End.