What will be the value of x after the following code is executed?

3. What 500) System.out.print(Enter another quantity: ); quantity – keyboard.nextInt (); a. Numbers within the range 100-500 b. Figures within the range 100-499 c. Figures lower than 100 d. Figures higher than 500’/> 3. just what will end up being the value of x following the following rule is performed? int x – 10 while (* < 100) * - 10 a. This will be an infinite cycle b. 110 c. 90 d. 100 4. just what will end up being the value of x following the following rule is performed? 3; int x, y = 15, x = (y=-) / (++ z = ); a. 3 b. 4 5. Within the following rule, just what values could possibly be look over into quantity to end the whilst cycle? Scanner keyboard = brand new Scanner (System.in); System.out.print("Enter several "); int quantity - keyboard.nextInt(): while (quantity

500) System.out.print(“Enter another quantity: “); quantity – keyboard.nextInt (); a. Numbers within the range 100-500 b. Figures within the range 100-499 c. Figures lower than 100 d. Figures higher than 500
less then 100 cycle stops.
be 3.
In the event of any question remark below. Please UPVOTE in the event that you Liked
to 500 will fail the whilst condition and certainly will break the lloop.

either lower than 100 in excess of 500 means any numebr type 100
5. choice A. see in while its checking that input quantity needs to be

Leave a Comment