這哪里錯(cuò)了?請(qǐng)高人指點(diǎn)
int three=one+two; ? ? ? ?int three+=one; ? ? ? ?int three-=one; ? ? ? ?int three*=one; ? ? ? ? ? ? ? ?int three/one; ? ? ? ?int three%=one; ? ? ? ? ? ? ? ?System.out.println(three); ? ?} }
int three=one+two; ? ? ? ?int three+=one; ? ? ? ?int three-=one; ? ? ? ?int three*=one; ? ? ? ? ? ? ? ?int three/one; ? ? ? ?int three%=one; ? ? ? ? ? ? ? ?System.out.println(three); ? ?} }
2018-05-07
舉報(bào)
2018-05-08
int聲明關(guān)鍵字,不能每句都用吧。
2018-05-17
int one = 10 ;
??? int two = 20;
?? int three = 0 ;
?? int as=one+two;
?? int sw=two+two;
?? int dw=two+two-one;
?? int ad=(one+two)*one;
?? int asd=(ad/30)+two;
?? int sc=(one+two)%(one+two);
??
??
?? System.out.println("three=one+two==>"+as);
?? System.out.println("three+=one==>"+sw);
?? System.out.println("three-=one==>"+dw);
?? System.out.println("three*=one==>"+ad);
??? System.out.println("three/=one==>"+asd);
?? System.out.println("three%=one==>"+sc);
2018-05-07
int three+=one; 不存在多吧3怎么會(huì)等于3+1