Consider the following code.
Note: SimpleIO.readInt() reads an integer from console
Expand|Select|Wrap|Line Numbers
- boolean a,b;
- int c,d;
- ...
- c = 10;
- if ((d = SimpleIO.readInt()) < c)
- {
- ...
- };
2) How could the code be rewritten?
Can you help with this tut question
|