The code has lost all its indentations making it harder to read and understand. Logically nested statements should be indented.
Do NOT use == or != to compare String objects. Use the equals()...
Type: Posts; User: Norm
The code has lost all its indentations making it harder to read and understand. Logically nested statements should be indented.
Do NOT use == or != to compare String objects. Use the equals()...
The problem is with the Scanner methods. Please read this:
https://www.geeksforgeeks.org/why-is-scanner-skipping-nextline-after-use-of-other-next-functions/
Please edit your post and wrap your...