if ( i%2==0 ) {
sum = sum + i;}
結(jié)果也是30
sum = sum + i;}
結(jié)果也是30
2014-12-09
終于做出來了:
three = one + two;
System.out.println(three);
three += one;
System.out.println(three);
three -= one;
System.out.println(three);
three *= one;
System.out.println(three);
three /= one;
System.out.println(three);
three %= one;
System.out.println(three);
three = one + two;
System.out.println(three);
three += one;
System.out.println(three);
three -= one;
System.out.println(three);
three *= one;
System.out.println(three);
three /= one;
System.out.println(three);
three %= one;
System.out.println(three);
2014-12-09
public class HelloWorld{ public static void main(String[] args) { System.out.println("我愛慕課網(wǎng)"); System.out.println("idcbgp.cn");} }
2014-12-08