Skip to content

Commit

Permalink
Ref #3 | Adiciona a resolução do exercício 2
Browse files Browse the repository at this point in the history
  • Loading branch information
YukioArie committed Aug 28, 2019
1 parent f36aa70 commit 07b0c2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Capitulo_6/2/Yukio.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
puts'Informe sua idade: '
idade = gets.to_i
if idade > 18
'Maior de Idade'
else
'De Menor'
end

0 comments on commit 07b0c2d

Please sign in to comment.