Traditional Culture Encyclopedia - Photography major - Shanghai sum wedding photography recruitment
Shanghai sum wedding photography recruitment
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
- Y52s configuration
- The spelling application necessary for the owner of Wenbo.
- What's the hardware environment like in dalian polytechnic university? Is there a gym?
- Rules for voluntary admission to art classes
- Wo's video, amateur, cowboy blue Volvo XC60 is actually shot in the state of daily retouching.
- Chaozhou people's custom of dealing with affairs after death.
- How about Xuzhou Yibaijia Trading Co., Ltd.
- Classification of documentary photography
- Coin Lee has failed artificial insemination many times. Why is she being criticized for her rare appearance?
- The original copy of photography