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 7ea3766 commit da6c4c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capitulo_6/1/henrique_mariano.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
puts "Insira a nota do aluno"
nota = gets.to_i

if nota >= 6
puts "Aprovado"
else
puts "Reprovado"
end

0 comments on commit da6c4c2

Please sign in to comment.