Launch rocket with countdown and acceleration in stdout: Difference between revisions
Content deleted Content added
add freebasic |
hmmm... the <lang> tag doesn't like pipes or backslashes. Oh well. |
||
Line 9: | Line 9: | ||
dim as string rocket(1 to 7) = { " ^",_ |
dim as string rocket(1 to 7) = { " ^",_ |
||
" / \",_ |
" / \",_ |
||
" |
" I I",_ |
||
" |
" I H I",_ |
||
" |
" I I",_ |
||
" / |
" /I/ \I\",_ |
||
"/ |
"/_II.II_\" } |
||
dim as double h = 0, dhdt = 0, d2hdt2 = 0.3, t, countdown = 5, dt |
dim as double h = 0, dhdt = 0, d2hdt2 = 0.3, t, countdown = 5, dt |