Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.266 kb
#include <stdio.h>
main()
{
int fahr, celsius;
int step, lower, upper;
lower = 0;
upper = 300;
step = 20;
fahr = lower;
while(fahr <= upper) {
celsius = 5 * (fahr - 32) / 9;
printf("%3d\t%6d\n", fahr, celsius);
fahr += step;
}
}
Jump to Line
Something went wrong with that request. Please try again.