If you press Enter during input, the previous input will be printed immediately. What should I do if I want to save what I received in a variable and print it out at once so that it doesn't output immediately even if I press Enter during input?java
You're already saving it well in the variable.
I think you can separate the printouts like this.
© 2022 pinfo. All rights reserved.