3-3 習(xí)題
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; ????????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); ???????? } }
請問這段代碼的問題出在哪里?為什么無法顯示答案
2017-02-23
這代碼沒問題,應(yīng)該是eclipse的運行問題吧