import java.util.Scanner;
public class test {
public static void main(String[] args) {
int a,b,c,d;
Scanner sc = new Scanner(System.in);
System.out.println("Please input three numbers:");
a = sc.nextInt();
b = sc.nextInt();
c = sc.nextInt();
d = maxofthree(a, b, c);
System.out.println("d = " + d);
sc.close();
}
public static int maxofthree(int a,int b,int c){
int max;
if(a>b){
max=a;
}
else{
max=b;
}
if(maxreturn max;
}
}