202 Posted Topics

Member Avatar for stan.joe1

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 { …

Member Avatar for dmanw100
0
327
Member Avatar for dmanw100

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 …

Member Avatar for dmanw100
0
111

The End.