Computer Science, asked by mddanishmd007, 3 months ago

The total distance traveled by a vehicle in t seconds is given by:

s = ut +

1

2

at2

Where, u is the initial velocity (in meter per sec) and a is the acceleration (meter per sec2

). Write a program

to calculate s when u, a and t are given​

Answers

Answered by Anonymous
1

Códe and output is in attachment.

Attachments:
Similar questions