repo.or.cz
/
rwork.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
init
[rwork.git]
/
domaca_30_3.rb
blob
cf502ef944a845f66ccf72483edef555fbf780e0
1
=begin
2
Uloha: Na vstupe su 2 cele cisla, ktore oznacuju zaciatok intervalu a koniec internvalu. Vypis vsetky palindromy.
3
4
priklad:
5
vstup - 816,820; tak palindrom je 818.
6
7
poznamka - treba cykly - while (podmienka)
8
p,p2...pn
9
end
10
#while (i<=10)
11
# puts i
12
# i=i+1
13
#end
14
=end
15
16
17
a=816.to_i
18
b=820.to_i
19
20
c=c.to_i
21