That makes perfect sense. I can't believe I didn't pick up on that at all. Thanks!
Type: Posts; User: dotChristo
That makes perfect sense. I can't believe I didn't pick up on that at all. Thanks!
These two blocks
else if (num % 3 == 0 && num % 5 != 0){
System.out.println("Fizz");
}
else if (num % 5 == 0 && num % 3 != 0){
System.out.println("Buzz");
It's as if I never even...
I'm trying a basic challenge that involves a program counting to 100, and displaying that output while it counts up.
For every multiple of 3; it must print Fizz
For every multiple of 5, it must...