Answers for "if in fortran"

0

fortran elseif statement

if(condition1)then
	! do this if condition1 is true
else if(condition2)then
	! else do this if condition2 is ture
endif
Posted by: Guest on April-03-2020
0

fortrna if statement

if(conditional)then
    ! Do something
elseif(conditional)then
    ! Do something else
else
    ! Otherwise do this
endif
Posted by: Guest on July-23-2020

Browse Popular Code Answers by Language