AnswerBox
Java

Find Maximum of Three

Description:
Find the largest among three numbers.
Java Code
public class MaxOfThree {
    public static void main(String[] args) {
        int a = 45, b = 72, c = 38;
        int max = Math.max(a, Math.max(b, c));
        System.out.println("Maximum: " + max);
    }
}
Expected Output
Maximum: 72