A good answer might be:
count is 1 count is 2 count is 3 Done with the loop |
Relational Operators are TrickyHere is the program fragment:
The relational operator is different than before (now it is "<",
previously it was "<=") and it tests with 4 (previously with 3.)
You can figure out what this loop does by observing:
The limit value of 4 is coordinated with the relational operator "<" to control the loop. Here is another change to the program:
|
QUESTION 8:What does the above program print? Click Here after you have answered the question |