/* Write a program that reads 7 real numbers. Each number indicates the Fahrenheit temperature for one day. The program finds and prints the average Celsius temperature for these 7 days. Use the following formula to convert Fahrenheit to Celsius: Celsius = (5/9)*(Fahrenheit-32) */ #include int main(){ int i=0; double tempF, tempC, sum=0.0,ave; printf("enter 7 Fahrenheit temp for 7 days\n"); while(i<7){ scanf("%lf",&tempF); tempC=((double)(5)/9)*(tempF-32); sum+=tempC; i++; } ave=sum/7; printf("ave Celsius %f\n",ave); return 0; }