status = scanf("%ld", &num); /* %ld for long, status is the return value */ while (status == 1) { ... 個動作,先利用scanf()讀入資料,同時判斷回傳值是否等於.
確定! 回上一頁