What kind of loop is this:
response = keyboard.nextInt();
while (response == 1)
{
System.out.print ("Enter 1 to continue; 0 to stop");
response = keyboard.nextInt();
}
A. posttest
B. definite
C. event-driven
D. counted
Answer: C
Computer Science & Information Technology
You might also like to view...
What is the output from print "Hi" * "10"? Why do you get this output?
What will be an ideal response?
Computer Science & Information Technology
The most current version of CSS is ____.
A. CSS2 B. CSS3 C. CSS3.5 D. CSS4
Computer Science & Information Technology
Which Cisco IOS command is used to display the IPv6 multicast groups to which an interface belongs?
A) show interfaces B) show ipv6 group C) show ipv6 interface D) show ipv6
Computer Science & Information Technology
Explain what an arithmetic overflow is and what its significance in computer science is.
What will be an ideal response?
Computer Science & Information Technology