Skip to content

Commit

Permalink
#1 | Adiciona resposta Exerscicio 1 Capitulo 5
Browse files Browse the repository at this point in the history
  • Loading branch information
YukioArie committed Aug 21, 2019
1 parent e004573 commit b82e768
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capitulo_5/1/Yukio.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
puts("Entre com o Primeiro Nome:")
primeiro_nome = gets.chomp.size
puts("Entre com o Nome do Meio:")
nome_meio = gets.chomp.size
puts("Entre com o Ultimo Nome:")
ultimo_nome = gets.chomp.size

puts("Soma total do tamanho dos nomes: #{primeiro_nome + nome_meio + ultimo_nome}")

0 comments on commit b82e768

Please sign in to comment.