Posts by Gabriel Cândido • 31 points
1 post
-
3
votes3
answers307
viewsA: Ignored line of code
Good afternoon, The culprit is on this line: double salario = input.nextDouble(); The function reads only up to the next token and not the entire line, so when you call the nome = input.nextLine();…