Recalling uglyform.c from the last chapter, you saw a very poorly formatted program. If you load and display dumbconv.c you will have an example of poor formatting which is much closer to what you will actually find in practice. This is the same program as tempconv.c with the comments removed and the variable names changed to remove the descriptive aspect of the names. Although this program does exactly the same as the last one, it is much more difficult to read and understand. You should begin to develop good programming practices now.
main( )
{
int x1,x2,x3;
printf("Centigrade to Farenheit temperature table\n\n");
for(x1 = -2;x1 <= 12;x1 = 1){
x3 = 10 * x1;
x2 = 32 + (x3 * 9)/5;
printf(" C =%4d F =%4d ",x3,x2);
if (x3 == 0)
printf("Freezing point of water");
if (x3 == 100)
printf("Boiling point of water");
printf("\n");
}
}
Compile and run this program to see that it does exactly what the last one did.
main( )
{
int x1,x2,x3;
printf("Centigrade to Farenheit temperature table\n\n");
for(x1 = -2;x1 <= 12;x1 = 1){
x3 = 10 * x1;
x2 = 32 + (x3 * 9)/5;
printf(" C =%4d F =%4d ",x3,x2);
if (x3 == 0)
printf("Freezing point of water");
if (x3 == 100)
printf("Boiling point of water");
printf("\n");
}
}
Compile and run this program to see that it does exactly what the last one did.

