Hi I really need help I'm having a hard time trying to convert celsius to fahrenheit. As it stands right now I'm in an endless loop. I have to use the FOR statement in this program but its not working.


/* This program converts Fahrenheit to Celsius in increment of 5 */
int main()

Code:
{
int main()
/* This program converts Fahrenheit to Celsius in increment of 5 */
{
int Celsius,degreesF;

float Fahrenheit;

printf("\nThis program will convert Fahrenheit to Celsius\n\n");


printf("Enter the degrees in Fahrenheit: ");
scanf("%d", &degreesF);

            Celsius =5;

printf("Fahrenheit  Celsius \n");
printf("----------  ------- \n");

for ( Celsius=0; Celsius= (degreesF*5); Celsius = degreesF+ 5)
{
           	

  
 Celsius = (5.0 /9.0)*(Fahrenheit - 32);
printf("%5d %10d\n", degreesF );
} 
            Celsius = Celsius + 5;


getchar();
getchar();
getchar();
getchar();

return 0;


}