Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. Podajesz n - ilosc pozycji ciagu
  2. definiujesz tablice tab[n]
  3. for(i = 0; i<=n; i++) {
  4.     if(Pierwszy warunek) {
  5.         tab[i] = 'wartosc wedlug ciagu'
  6.     }  
  7.  
  8.     if(Drugi warunek) {
  9.         tab[i] = 'wartosc wedlug ciagu'
  10.     }
  11.  
  12.     if(Trzeci warunek)
  13.     {
  14.         tab[i] = 'wartosc wedlug ciagu'
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement