When I input, it just loops the text over and over, non stop.
Code:#include <temp.h> #include <stdio.h> int main() { float temp = 0.000; int choice; int loop = 1; while(loop == 1) { printf("Temperature Conversions\nBy Samuel Fredrickson\n"); printf("\nTEMP: %f\n\n1. C2F\n2. F2C\n3. Exit\n",temp); scanf("%i",&choice); scanf("%f",&temp); switch(choice) { case 1: temp = c2f(temp); break; case 2: temp = f2c(temp); break; case 3: return 0; } } return 0; }