 
		LVSIYANG
2016-10-05 02:39
编程题3-3答案
 
				public class HelloWorld{
    public static void main(String[] args) {
     int one = 10 ;
        int two = 20 ;
        int three = 0 ;
        three = one + two;
        System.out.println("three = one + two ==>"+three);
        three += one;
        System.out.println("three += one==>"+three);
        three -= one;
        System.out.println("three -= one ==>"+three);
        three *= one;
        System.out.println("three *= one ==>"+three);
        three /= one;
        System.out.println("three /= one ==>"+three);
        three %= one;
        System.out.println("three %= one ==>"+three);
        
    
 }
}
Java入门第一季(IDEA工具)
1168090 学习 · 18754 问题
相似问题