Questions and Correct Answers | New
Update
A structure that allows repeated execution of a block of statements is a -
🧠ANSWER ✔✔loop
A loop that never ends is a(n) __________. - 🧠ANSWER ✔✔infinite
To construct a loop that works correctly, you should initialize a loop control
_______ - 🧠ANSWER ✔✔Variable
What is the output of the following code?
b=1;
While (b<4)
System.out.print(b + " "); - 🧠ANSWER ✔✔d. 1 1 1 1 1 1...
, What is the output of the following code?
b = 1;
while(b < 4)
{
System.out.print(b + " ");
b = b + 1;
} - 🧠ANSWER ✔✔b. 1 2 3
What is the output of the following code?
e = 1;
while(e < 4);
System.out.print(e + " "); - 🧠ANSWER ✔✔d. nothing
If total=100 and amt=200,the n after the statement total+=amt, . -
🧠ANSWER ✔✔b. total is equal to 300
The prefix ++ is a ___________________ operator - 🧠ANSWER ✔✔a.
unary