Académique Documents
Professionnel Documents
Culture Documents
else if(a>c){ if(a>b) System.out.print(a+"is the lasrgest"); if(a<b) System.out.println(b+"is the largest element"); }
else if(b>c){ if(b>a) System.out.print(b+"is the lasrgest"); if(b<a) System.out.println(a+"is the largest element"); }
else if(c>a){ if(c>b) System.out.print(c+"is the lasrgest"); if(c<b) System.out.println(b+"is the largest element"); } else System.out.println("Numbers are equal"); } }