[問題] 基本程式設計概念的問題
(1) Rewrite the following pseudo-code if statement expression
in a more realistic manner assuming that variables a and b are
of type real:
if (a = b) then
....
(2) Explain why this is necessary.
這題好像是關於兩個實數不太可能相等的問題,但不知道該怎麼作答。
這是澳洲某大學 2006 年期末考題,請各位高手幫忙。
謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.112.16.250
※ 編輯: trickli 來自: 59.112.16.250 (01/21 01:58)
推
02/02 21:07, , 1F
02/02 21:07, 1F
→
02/02 21:07, , 2F
02/02 21:07, 2F
PLT 近期熱門文章
PTT數位生活區 即時熱門文章