Skip to content

Commit

Permalink
#2 | Adiciona Resposta Gabriel Nunes
Browse files Browse the repository at this point in the history
  • Loading branch information
GANUOL committed Aug 22, 2019
1 parent 981a688 commit 77169fb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capitulo_5/1/Gabriel_Nunes(cap5_ex1).rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
print "Entre com seu primeiro nome :"
nome = gets.chomp
puts 'Entre com o sobrenome: '
sobrenome = gets.chomp
puts 'Entre com o ultimo nome'
ultimo = gets.chomp
total = nome.size + sobrenome.size + ultimo.size
puts 'O total de caracteres é :' + total.to_s

0 comments on commit 77169fb

Please sign in to comment.