Java語言基礎------分支流程控制

分支流程控制 if 單路分支 if的原理案例: 案例代碼: public static void main(String[] args) { /** * if 流程控制 */ int i = 5; Scanner console = new Scanner(System.in); System.out.print("輸入總價:"); double total = console
相關文章
相關標籤/搜索