The fortran code below add numbers you insert in the source code and perform addition operation to give output result.
Program addition ! add two number automatically
implicit none
real, parameter :: a = 50
real, parameter :: b = 50
integer :: c
c = a + b
write(*,*)'The result is:', c
end program addition
PROGRAM RESULT
Program addition ! add two number automatically
implicit none
real, parameter :: a = 50
real, parameter :: b = 50
integer :: c
c = a + b
write(*,*)'The result is:', c
end program addition
PROGRAM RESULT
0 Comments
If you have further concerns, kindly drop a comment.