Search:

Type: Posts; User: reddevilggg

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    1,451

    Re: not sure why the 'else is not working

    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,...
  2. Replies
    3
    Views
    1,451

    not sure why the 'else is not working

    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 =...
Results 1 to 2 of 2