FORTRAN 77 program to calculate the distance covered by a car.

SIMPLE  PROGRAMS


8: FORTRAN 77 program to calculate the distance covered by a car after 50 seconds with velocity 10m/s^2.

integer v,t,s
v=10
t=50
s=v*t
write(*,*)'Distance covered = ',s,'m'
stop
end


Post a Comment

0 Comments