Largest of Three Numbers

· unclassifiedUnclassified

Largest of Three Numbers

javamay contain transcription errors
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
int max = Math.max(a, Math.max(b, c));
System.out.println(max);
}
}
← Jump Game — Can You Reach the End?LCM of Two Numbers →
Report an issue with this question