请帮我修复这个程序。我需要知道缺少什么?它在我的“扫描”和“如果”行上给了我错误。告诉我我有“未初始化的变量?我真的不知道如何纠正它!
#include<stdio.h>
int main (void)
{
//Local Declarations
int c;
int f;
int cel;
int fah;
int enter;
//Statements
printf("\nThis program converts Celsius temperatire to Fahrenheit degree and Fahrenheit temperature to Celsius degree.");
printf("\nIf you want to convert Celsius to Fahrenheit, please enter c.");
printf("\nIf you want to convert Fahrenheit to Celsius, please enter f.");
scanf("%d, &enter");
if(enter==c)
{
printf("\nEnter Celsius temperature.");
enter=cel;
scanf("%d", &cel);
fah=cel*5/9 + 32;
printf("%d", fah);
}
if(enter==f)
{
printf("\nEnter Fahrenheit degree.");
enter=fah;
scanf("%d", &fah);
cel=(fah-32)*5/9;
printf("%d", cel);
}
return 0;
} //main