Basics_Que_07

Home / Java Practice Question / Basics_Que_07

Basics_Que_07


WAP to find Maximum between three Number......

program : 


public class Loop {

public static int maxiNum(int num1 , int num2 , int num3){
if(num1>num2 && num1>num3){
return num1;
}else if(num2>num3){
return num2;
}else{
return num3;
}
}

}