this should help, it works, i dont know if its what you want. ouput is just how you want it.
Code:
#include <stdio.h>
#include <conio.h>
#define TRUE 1
int main ()
{
int userInput, blah, i= 0;
float cTemp = 0.0;
float fTemp = 32.0;
//infinite loop, user will decide to break or not.
while (TRUE){
while (fTemp <= 81.00) {
printf("| %.2f=%.2f ", ((fTemp - 32) / 1.8), fTemp);
fTemp++;
i++;
if (i == 5){
printf("|\n");
i = 0;
}
}
printf("\nPress any key to continue list.\n\n");
userInput = getch();
while (fTemp <= 134.00) {
printf("| %.2f=%.2f ", ((fTemp - 32) / 1.8), fTemp);
fTemp++;
i++;
if (i == 5){
printf("|\n");
i = 0;
}
}
printf("\nPress any key to continue list.\n\n");
userInput = getch();
while (fTemp <= 187.00) {
printf("| %.2f=%.2f ", ((fTemp - 32) / 1.8), fTemp);
fTemp++;
i++;
if (i == 5){
printf("|\n");
i = 0;
}
}
printf("\nPress any key to continue list.\n\n");
userInput = getch();
while (fTemp <= 212.00) {
printf("| %.2f=%.2f ", ((fTemp - 32) / 1.8), fTemp);
fTemp++;
i++;
if (i == 5){
printf("|\n");
i = 0;
}
}
printf("\nWould you like to reprint this list?\n");
printf("1 - Yes, 2 - No: ");
scanf("%d", &blah);
if (blah == 2){
break;
} else {
fTemp = 32.00;
}
}
}