Traditional Culture Encyclopedia - Photography major - Changsha summer wedding photography
Changsha summer 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.
- Previous article:What about Shenzhen Zhuzhutang Culture Development Co., Ltd.?
- Next article:Successful cases of micro-film entrepreneurship
- Related articles
- Who knows the good children's films at home and abroad, the more the better! It is best to be a movie that has positive significance and influence on children!
- Crouching Tiger, Hidden Dragon is 22 years old. Can this play become a classic this year?
- Things to buy for marriage
- What are the subjects of St. Petersburg State University of Film and Television?
- I bought a SLR and didn't dare to take it out! Hanging around your neck will not be regarded as 13 by others! ! What should we do?
- Where can I find a good tourist accommodation in Beidaihe?
- What has tarkovsky achieved?
- How to use the panoramic shooting of Apple?
- Is there really a snowman on Mount Everest?
- How can I visit the Forbidden City as much as possible?