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
just update
[rwork.git]
/
name.rb
blob
f2ecf4bce1c1a0e3072956d4495f9ec802d28540
1
#puts "what's your name?"
\r
2
#name=gets.chomp
\r
3
#puts "hello " + name + "! my name is beautiful :)"
\r
4
\r
5
puts "zadaj 1.cislo:"
\r
6
c1=gets.chomp
\r
7
puts "zadaj 2.cislo:"
\r
8
c2=gets.chomp
\r
9
print c1 + "+" + c2 + " = "
\r
10
print c1.to_i + c2.to_i