Advertisement
joker546645

5_1 c

Dec 7th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. float srednia_harm(float * tablica, int n);
  3. int main()
  4. {
  5.     float wartosc_sumy;
  6.     int n = 4;
  7.     float tablica[] = {1,1,1,1};
  8.     wartosc_sumy = srednia_harm(tablica, n);
  9.     printf("\nSuma wynosi %f \n", wartosc_sumy);
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement