class Program4
{
public static void main(String args[])
{
int a = Integer.parseInt(args[0]);
int b = Integer.parseInt(args[1]);
int c = Integer.parseInt(args[2]);
int max;
max = (a>b)? ((a>c)? a: c) : ((b>c)? b : c);
System.out.println("Maximum number is: " + max);
}
}
No comments:
Post a Comment