标签:
package hello; public class to { public static void main(String[]args){ int a =1,b=0; int c =1,d=0; int e =1,f=0; int wang = a+c+e; //3 int li = b+d+f;//0 int zhang = b +c+f;//1 if(zhang>=wang&zhang>=li){ System.out.println("zhang,LOVE");} else if(wang>=li&wang>=zhang){ System.out.println("wang.LOVE");} else if(li>=wang&li>=zhang) {System.out.println("li.LOVE");} else{System.out.println("no"); } } }
标签:
原文地址:http://www.cnblogs.com/liaoliao/p/5015085.html