Traditional Culture Encyclopedia - Photography and portraiture - Hefei Summer Wedding Photography Address
Hefei Summer Wedding Photography Address
float a[ 10],sum,m;
int n;
sum = 0;
scanf("%d ",& ampn); //Note that the input value of n should be less than the array length you defined.
for(I = 0; I & ltn;; i++)
scanf("%f ",& ampa[I]);
for(I = 0; I & ltn;; i++)
sum = sum+a[I];
m = sum/n;
printf("%.2f ",m); The .2 in //%.2f can control the output to keep two decimal places.
- Related articles
- Xiaoquan photography ban
- When is the best time to travel in Capadocia?
- Enrollment of photography major in Wuhan Institute of Engineering and Technology
- Arrange many photos of different sizes in the photo wall accurately and beautifully. What would you do with them?
- Top ten movie box office in the world? Who are they?
- Cappadocia travel guide, what's interesting?
- World AIDS Day Theme Class Meeting Teaching Plan
- What does a column director do?
- What is the enlightening significance of "looking at the peak from across the ridge, the distance is different" for finding a news angle?
- Wolves besieged the wooden shack for half a month, and the two Shandong people guarding the shack made a living by killing wolves with martial arts.