import java.util.Scanner; public class Problem3 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int a, b, c; System.out.print("Enter three integers: "); a = input.nextInt(); b = input.nextInt(); c = input.nextInt(); System.out.print("The largest number is "); if (a >= b && a >= c) { System.out.println(a); } else if (b >= a && b >= c) { System.out.println(b); } else { System.out.println(c); } } }