I'm trying to write a program to print a conversion table from 0 to 100 celsius (in intervals of 5) to fahrenheit in this format. I have the following but can't get the intervals to increase by 5.
printf("Celsius | Fahrenheit\n");
for (i=0; i<=100; i=i+5)
printf("%5.0f |%7.0f \n",C,F);