! PROGRAM P13 ! ! IMPLICIT NONE PRINT *, 'This is Program >> P13 - Prints a string & a result' ! ! Simple program to show output of a string and a result PRINT *, '2+3 =' , 2+3 STOP END PROGRAM P13OUTPUT:
+--------------------------------------------------+ | 32-bit Power for Lahey Computer Systems | | Phar Lap's 386|DOS-Extender(tm) Version 7.0 | | Copyright (C) 1986-94 Phar Lap Software, Inc. | | Available Memory = 14880 Kb | +--------------------------------------------------+ This is Program >> P13 - Prints a string & a result 2+3 = 5
{ program to show simple addition } PROGRAM p13 (input, output); BEGIN writeln ('2+3=',2+3) END.
Last modified: 21/07/97