Question: please answer all this is for java coding 1)Complete the code below so that the output is: 20 10 5 2 1 for(int i =
please answer all
this is for java coding
1)Complete the code below so that the output is: 20 10 5 2 1 for(int i = 20; ___; ____) System.out.print(i); 2) Which of the following expressions is equivalent to the boolean expression: !(A < 5 && B != C)? a. A > 5 || B != C b. A >= 5 && B == C c. !(A < 5) || (B != C) d. A >= 5 || B == C e. A < 5 && B == C 3) Why is this code printing 11 on the screen: int i = 0; while(i < 10) i++; System.out.print(i);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
