! Check the number if is greater or less than 50 ! Fortan Programming READ(*, *)NUM IF(NUM.EQ.50)THEN WRITE(*, *) "The number is equal with 50, You entered: ", NUM ELSEIF(NUM.LT.50)THEN WRITE(*, *) "The number is less than 50, You entered: ", NUM ELSEIF(NUM.GT.50)THEN WRITE(*, *) "The number is greater than 50, You entered: ", NUM ENDIF STOP END
To embed this project on your website, copy the following code and paste it into your website's HTML: