Traditional Culture Encyclopedia - Photography major - Shenzhen sum wedding photography
Shenzhen sum wedding photography
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
- How can a SLR camera shoot a beautiful sunrise and sunset? Mountain and seaside, specific parameters, composition, my camera is 600D 135 lens.
- What is the meaning of V-port in photography?
- Zhili auxiliary police salary
- How to write a cotton diary
- Ten recommended tourist attractions in Zhangzhou.
- How to take a photo of a literary fan?
- Where is the best manor for taking wedding photos in Xingping?
- Types of artificial light lamps
- Introduction of Qingdao Coastal Adventure Tourist Attractions Introduction of Qingdao Tourist Attractions
- How about Qingdao Zhonghui Shengrun Industry and Trade Co., Ltd.?