輸出空格問(wèn)題
three = one + two ==>30
three += noe ==>40
three-= one ==>30
three*=one ==>300
three /=one ==>30
three %= on e==>0
這里邊是不是多個(gè)空格什么的并不算錯(cuò)誤,只是輸出顯示問(wèn)題?標(biāo)準(zhǔn)的要不要空格
three = one + two ==>30
three += noe ==>40
three-= one ==>30
three*=one ==>300
three /=one ==>30
three %= on e==>0
這里邊是不是多個(gè)空格什么的并不算錯(cuò)誤,只是輸出顯示問(wèn)題?標(biāo)準(zhǔn)的要不要空格
2015-09-18
舉報(bào)
2015-09-18
變量名不可以出現(xiàn)空格,但是變量名與運(yùn)算符之間最好打上一個(gè)空格,這樣比較符合格式,輸出顯示問(wèn)題應(yīng)該是慕課網(wǎng)后臺(tái)識(shí)別代碼不夠嚴(yán)謹(jǐn)。