Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Programming From Problem Analysis to Program Design
Quiz 5: Control Structures II: Repetition
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
boolean found = false; Int num; Int square;while (!found) { Num = console.nextInt() ; Square = num * num; If (square > 40) Found = true; }The above code is an example of a(n) ____ loop.
Question 22
Multiple Choice
static final int EndVal = -1; Int double; Int num = console.nextInt() ;while (num != EndVal) { Double = num * 2; System.out.println(double) ; Num = console.nextInt() ; }The above code is an example of a(n) ____ while loop.