Computer Science, asked by ConstellationGuy, 2 months ago

Please correct the above coding in Java​

Attachments:

Answers

Answered by ArchBTW
1

Answer:

Use sc.nextLine(); instead sc.next because your username consist of a space and multiline string cannot be used through sc.next

Explanation:

Similar questions