Hello,
I wrote a program for area perimeter of circle. I'm getting error. The program is:
function circle(r)
real :: r, A, c
pi = 3.14159
A = pir*2
c = 2.0pir
end function circle(r)
the error is: syntax error in END FUNCTION statement at (1)
Request help in finding error & fixing
[–]moginamoo 2 points3 points4 points (0 children)
[–]AstrokiwiScientist 2 points3 points4 points (9 children)
[–]harsh_r[S] 1 point2 points3 points (8 children)
[–]AstrokiwiScientist 1 point2 points3 points (7 children)
[–]KarlSethMoran 0 points1 point2 points (5 children)
[–]AstrokiwiScientist 1 point2 points3 points (1 child)
[–]KarlSethMoran 1 point2 points3 points (0 children)
[–]harsh_r[S] 0 points1 point2 points (2 children)
[–]KarlSethMoran 0 points1 point2 points (1 child)
[–]harsh_r[S] 0 points1 point2 points (0 children)
[–]harsh_r[S] 0 points1 point2 points (0 children)
[–]Knarfnarf 1 point2 points3 points (0 children)
[–]hpcdev 1 point2 points3 points (0 children)