Largest of Three Numbers
· unclassifiedUnclassified
Problem
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);
}
}