plz help me in this code . its not giving the output
plz correct my code
#include <stdio.h>
int main()
{
double fahr , celsius;
printf("Enter the temperature in degrees fahrenheit:");
scanf("%d",fahr);
//convert to celsius
celsius = (5.0 / 9.0) * (fahr - 32.0);
printf("%if temperature in celsius",celsius);
return 0;
}