qq_慕慕7443411
2020-09-24 16:38
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one+tow;
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);
}
}
第六行的two,写成tow了。
下次记得报报错一起发出来
谢了,大佬
Java入门第一季(IDEA工具)升级版
1167138 学习 · 17927 问题
相似问题