我需要將此示例代碼從 基本轉換爲javascript。 Javascript不支持 「轉到」說明。如果你能給我一個翻譯,我會感謝您的支持。 非常感謝
10 c = 1666.66
20 b = 1.007897747
30 a = 10000
40 n = 6
50 a = a * b
60 a = a -c
70 n = n -1
80 c = c + 0.01
90 if a <= 0 then 120
100 if n = 0 then 30
110 goto 50
120 print c
130 end
我投票關閉這個問題進行過 - 因爲帖子是要求代碼翻譯。 – Joseph