Here's what I have so far:
#include "stdafx.h"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double c, f;
cout << fixed << showpoint << setprecision(1);
cout << "Celsius Fahrenheit\n";
cout << "-------------
for (c=0; c >= 20; c++)
{
f = 1.8 * c + 32;
cout << c << "\t" << f << endl;
}
return 0;
}

New Topic/Question
Reply




MultiQuote




|