Computer Science, asked by unique765, 9 months ago

How to write distance (s)= ut+1/2at^2 in QBASIC program ​

Answers

Answered by testdummyhere1212
3

Answer:

CLS

INPUT "ENTER INITIAL VELOCITY"; U

INPUT "ENTER TIME"; T

INPUT "ENTER ACCELERATION"; A

S= U*T+1/2*A*T^2

PRINT "DISTANCE TRAVELLED = "; S

END

Explanation:

Answered by ImpressAgreeable4985
0

CLS

INPUT "ENTER INITIAL VELOCITY"; U

INPUT "ENTER TIME"; T

INPUT "ENTER ACCELERATION"; A

Similar questions