Skip to content

Commit

Permalink
#1 | Adiciona resposta de yukio
Browse files Browse the repository at this point in the history
  • Loading branch information
YukioArie committed Aug 21, 2019
1 parent 4a184ed commit 1237ca9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Capitulo_4/1/Yukio.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
puts 'entre com o nome'
nome = gets.chomp
puts 'entre com o sobrenome'
sobrenome = gets.chomp
puts nome + ' ' + sobrenome
puts "#{nome} #{sobrenome}"
4 changes: 4 additions & 0 deletions Capitulo_4/2/Yukio.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
puts 'entre com o numero favorito da pessoa'
favorito = gets.to_i
soma = favorito + 1
puts 'o numero' + soma + 'e melhor'

0 comments on commit 1237ca9

Please sign in to comment.