xpress_embedo
Advanced Member level 4
Hello!! I am new to fortran and try to use it and it works.
But the output displayed has too many spaces.
Here is the code:
Why there is a gap when Enter number 1 and Enter Number 2.
Apart from that output is printed after a very big gap.
How to correct all these things.
But the output displayed has too many spaces.
Here is the code:
Code Fortran - [expand] 1 2 3 4 5 6 7 8 9 10 Program Addition_of_Two_No IMPLICIT NONE INTEGER::num1,num2,answer Write(*,*)'Enter num1' read(*,*)num1 Write(*,*)'Enter num2' read(*,*)num2 answer=num1+num2 write(*,*)'answer=',answer end Program Addition_of_Two_No
Why there is a gap when Enter number 1 and Enter Number 2.
Apart from that output is printed after a very big gap.
How to correct all these things.