Advertisement
glerium

2023.05.13 A题

May 12th, 2023
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.10 KB | None | 0 0
  1. double fun(int a[], int n) {
  2.     double s=0;
  3.     for(int i=0;i<n;i++) s+=a[i];
  4.     return s/n;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement