Question: import java.util.Scanner; public class LabProgram { public static void main ( String [ ] args ) { int a , b , c; Scanner sc
import java.util.Scanner;
public class LabProgram
public static void mainString args
int a b c;
Scanner sc new ScannerSystemin;
System.out.printFirst number: ;
a scnextInt;
System.out.printSecond number: ;
b scnextInt;
System.out.printThird number: ;
c scnextInt;
if a b && b c
System.out.printlnAll numbers are equal: a;
else
int max a;
if b max
max b;
if c max
max c;
System.out.printlnLargest number: max;
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
