weixin_慕用0557533
2022-11-24 11:06
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;
SYstm.out.println("three+=one==>"+three);
three-=one;
System.out.printin("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);
}
}
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;
((SYstm)).out.println("three+=one==>"+three);
three-=one;
System.out.printin("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);
}
}
拼写错了 System
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;
SYstm.out.println("three+=one==>"+three); // System.out.println("three+=one==>"+three);
three-=one;
System.out.printin("three-=one==>"+three); // 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工具)升级版
1165550 学习 · 17586 问题
相似问题