To find the velocity of an object. (Qbasic)


To find the velocity of an object. (v = u + at) (Qbasic Code)



CLS

INPUT "Enter the initial velocity of an object"; u

INPUT "Enter the acceleration"; a

INPUT "Enter the time"; t

v = u + a * t

PRINT "The velocity of the object is"; v

END

Share :

Facebook Twitter
Back To Top

facebook

Powered by Blogger.