Traditional Culture Encyclopedia - Photography and portraiture - Shanghai Summer Wedding Photography Address
Shanghai 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
- Help introduce some movies about aliens.
- Where does the full moon flower come from?
- What are the 13 cities in Heilongjiang Province?
- Du Yue advocates rope Garden of Dreams.
- Who founded Hanyang Arsenal?
- Where does Hudong belong?
- How many routes has Spring Airlines opened? Where have they all gone?
- Aunt Liuzhou took a photo in the mangrove forest, and the dog lay on the ground and asked for a photo. How intelligent are dogs?
- Gulnazar's fair skin with black suspender evening dress. Is the red carpet nice?
- What are the interesting places in Fuzhou?