為什么不能運(yùn)行呢?
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 = onr + two==>"+ three);
??????? three+=one;
??????? System.out.println("three += one ==>" + three);
??????? three-=one;
??????? System.out.println("three -= one ==>" + three);
??????? three*=one;
??????? System.out.ptintln("three *= one ==>" + three);
??????? three/=one;
??????? System.out.println("three /= one ==>" + three);
??????? three%=one;
??????? System.out.println("three %= one ==>" + three);
??????? }
??????? }
2018-09-28
第7行one寫錯(cuò)了,第13行println寫錯(cuò)了,細(xì)心一點(diǎn)就好啦
2018-09-27
2018-09-19
還有你的第四個(gè)println也寫錯(cuò)了呢,細(xì)心點(diǎn)哦,加油!
2018-09-19
?System.out.println("three = onr + two==>"+ three);
你的one寫錯(cuò)了吧,改了試試