Setvirtualresolution(640,480)
ResetTimer()
r#=Random(0,180)
v#=r#-90
result#=ATan(v#)
Repeat
Printc("The ArcTangent of "+Str(v#,2)+" is ")
Print(Str(result#,4)+" Degrees")
Sync()
Until Timer()>15
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() r#=Random(0,180) v#=r#-90 result#=ATan(v#) Repeat Printc("The ArcTangent of "+Str(v#,2)+" is ") Print(Str(result#,4)+" Degrees") Sync() Until Timer()>15 End