Anduena Smith wrote:
javadoc wrote:Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds, subject to the precision and accuracy of system timers and schedulers. The thread does not lose ownership of any monitors.
Junilu Lacar wrote:...That is quite a stretch of an argument. If you need to negate isNotThreeDigit(), then write a isThreeDigit() method instead. ¯\_(ツ)_/¯ ...
Junilu Lacar wrote:Numbers that have less than three digits: 0-99
Numbers with three digits: 100-999
Numbers with more than three digits: 1000- onwards.
Can you write an if statement to check if a number has 3 digits based on the above information?