Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Podajesz n - ilosc pozycji ciagu
- definiujesz tablice tab[n]
- for(i = 0; i<=n; i++) {
- if(Pierwszy warunek) {
- tab[i] = 'wartosc wedlug ciagu'
- }
- if(Drugi warunek) {
- tab[i] = 'wartosc wedlug ciagu'
- }
- if(Trzeci warunek)
- {
- tab[i] = 'wartosc wedlug ciagu'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement