Advertisement
Guest User

Untitled

a guest
Oct 13th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4.  
  5. int main()
  6. {  
  7.  
  8.     int M,i;
  9.     float wynik, odchylenie, wariancja, srednia;
  10.     printf ("Ile liczb chcesz wprowadzic?\n");
  11.     scanf ("%i", &M);
  12.     float tablica[M];
  13.     for (i=0; i<M; i++)
  14.     {
  15.         printf ("Wprowadz wynik: ");
  16.         scanf ("%i", &wynik);
  17.         tablica[i]=wynik;
  18.         printf ("Tablica [%d] = %d\n", i, wynik);
  19.     }
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement