Hi Community,
This is what my code looks like
Define LibPub bg(a,b,c)
Func
Disp "Is it inches or meters"
If inches Then
…inches=a
…Return [a/39=x]
Else meters Then
…meters=b
…b=x
EndIf
Disp "delta x =" , x , "meters"
Disp ""
Disp ""
Disp "Time ="
Return sqrt 2*x/9.81
EndFunc
How do I make this program work?
I'm trying to make it to do
If you have inches then divide over 39 to get x to use in (Return sqrt 2*x/9.81)
If you have meters then put it in (Return sqrt 2*x/9.81) already
Help please