View Code of Problem 68

import java.util.Scanner;
 
public class Main
{
  public static void main()
  {
    Scanner scan=new Scanner(System.in);
    int a=scan.nextInt();
    int b=scan.nextInt();
    int c=scan.nextInt();
    int max=0;
    max=a>b?a:b;
      max=max>c?max:c;
    System.out.println(max);
  }
}

Double click to view unformatted code.


Back to problem 68