Traditional Culture Encyclopedia - Photography and portraiture - How about Sum wedding photography?
How about 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
- Does anyone have profile photos of Zhou Enlai-type actor Liu Falu?
- North blizzard photography
- Who is the most difficult group night for you to create?
- What are the wedding customs in Nanchang? What are the taboos in giving dowry?
- Ask for the title of the horror film
- Brief introduction of photography technology
- What about Wenling Yintai Shopping Center Development Co., Ltd.?
- Development of 8K resolution
- Bengbu Taobao photography studio
- Family photography