Thanks guys! I forgot you have to update the numberlength variable in the loop. Should work fine now!
Type: Posts; User: ma5sacre
Thanks guys! I forgot you have to update the numberlength variable in the loop. Should work fine now!
Hello, I tried to get the program to tell me when I entered more or less than 11 digits, but even if I made sure to enter exactly 11, it still said " number must be 11 digits long. " What am I doing...
Sorry, had to change the code so you guys could understand and I forgot that one. fixing it now.
--- Update ---
The problem is now solved.
java - Scanning user input text - Stack Overflow
Hello! Iīve been trying to get user input as a text and then outputting one of 2 answers depending on the input.
Iīve also posted this on stackoverflow.com under the same title, since it may have...
Thanks for your replies! It works now!
Hi! Iīm fairly new, and I havenīt figured out how to put both variables and text in the same place. ( sorry for my english ). Let me demonstrate.
Letīs say I want command prompt to show a message...