Question: challenge activity 3 . 9 . 1 : Enter the output of break and continue. 5 9 4 9 0 8 . 1 9 8
challenge activity
: Enter the output of break and continue.
qxzqy
Type the program's output
import java.util.Scanner;
public class BreakAndContinue
public static void mainString args
Scanner scnr new ScannerSystemin;
int a;
int b;
int c;
a scnrnextInt;
b scnrnextInt;
c scnrnextInt;
while a b
System.out.printlna;
if a c
break;
a ;
Input
Output
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
