Sorry for posting in the wrong section, i knew the code was not a loop, but i did not know it was a control statement. I'm not sure how you supposed to know these things when you're a total noob,...
Type: Posts; User: reddevilggg
Sorry for posting in the wrong section, i knew the code was not a loop, but i did not know it was a control statement. I'm not sure how you supposed to know these things when you're a total noob,...
When i run this code the 'else' output always displays. Why is that ??
import java.util.Scanner;
public class Post {
public static void main(String[] args) {
Scanner myKeyboard =...