C Program to find the area of a rectangle
write (*,*)'Enter the length and breath of the rectangle:'
read(*,*)a,b
c=a*b
write(*,10)c
10 format(2x,'The area of the rectangle is',f16.2)
end
write (*,*)'Enter the length and breath of the rectangle:'
read(*,*)a,b
c=a*b
write(*,10)c
10 format(2x,'The area of the rectangle is',f16.2)
end
Comments
Post a Comment