[問題] 讀取十進位以上數字
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
DEV C++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
沒有
問題(Question):
/*
input: 24 24 +
output: 24 24 + EQUALS 6
預期正確結果 48
*/
沒辦法讀取十進位以上的數字,都只能判別個位數
餵入的資料(Input):
如上所述
預期的正確結果(Expected Output):
能讀十進位以上計算出來的數值
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
http://ideone.com/srkox
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.118.242.16
推
04/26 18:27, , 1F
04/26 18:27, 1F
→
04/26 18:32, , 2F
04/26 18:32, 2F
推
04/26 18:38, , 3F
04/26 18:38, 3F
推
04/26 19:02, , 4F
04/26 19:02, 4F
→
04/28 00:41, , 5F
04/28 00:41, 5F