Computer Science, asked by susmeenshrestha, 1 day ago

QBASIC
Rem print s in S= UT+1/2AT2

Answers

Answered by CyberBorealis
2

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

Answered by ImpressAgreeable4985
2

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

Similar questions