Skip to content

Commit

Permalink
Ref #3 | Adiciona Resolução de Henrique
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueMariano25 committed Aug 28, 2019
1 parent 102b521 commit abd477a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capitulo_6/3/henrique_mariano.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
puts "Insira um numero para saber se é par ou impar"
numero = gets.to_i

if numero%2 == 0
puts "Par"
else
puts "Impar"
end

0 comments on commit abd477a

Please sign in to comment.