Launch rocket with countdown and acceleration in stdout: Difference between revisions
Launch rocket with countdown and acceleration in stdout (view source)
Revision as of 17:31, 11 December 2020
, 3 years agochanged back slash character into chr(92), it was messing up de code highlighting
(hmmm... the <lang> tag doesn't like pipes or backslashes. Oh well.) |
m (changed back slash character into chr(92), it was messing up de code highlighting) |
||
Line 8:
<lang freebasic>#define sky 32
dim as string rocket(1 to 7) = { " ^",_
" /
"
"
"
" /
"/
dim as double h = 0, dhdt = 0, d2hdt2 = 0.3, t, countdown = 5, dt
|