Question: static final int EndVal = - 1 ; int double; int num = console.nextInt ( ) ; while ( num ! = EndVal ) {
static final int EndVal ;
int double;
int num console.nextInt;
while num EndVal
double num ;
System.out.printlndouble;
num console.nextInt;
The above code is an example of an while loop.
flagcontrolled
countercontrolled
EOFcontrolled
sentinelcontrolled
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
