I found the error: I had to use scan.nextLine(); instead of scan.next();
No it works, thanks for your reply.
Type: Posts; User: jokibaer
I found the error: I had to use scan.nextLine(); instead of scan.next();
No it works, thanks for your reply.
Hello, I tried some exercises: Entering a first and a lastname, the return should be the last name in uppercase.
Example:
input: John Doe
output: John DOE
unfortunately i get a "null null",...