What relational operator should be used so that the program fragment prints out the integers 20 down to and including 11 ?

A good answer might be:

>             // greater-than

Another Example

Here is another program fragment:

    int count  = 10;
    int inc    = -1;
    while ( count  < 100 )   // check the relational operator
    {
      System.out.println( "count is:" + count );
      count = _____________________;
    }
    System.out.println( "Count was " + count + " when it failed the test");

QUESTION 10:

How should the assignment statement be completed so that the loop terminates? (include the variable inc in your answer.)

Click Here after you have answered the question