PROGRAM FILE 11: PRINTING NUMERIC VARIABLES ASSIGNED                            
        NR1 AND NR2 CONSTANTS.                                                  
    ANSI STANDARD 5.2, 5.4, 6.2, 6.4, 9.2, 9.4, 12.4                            
                                                                                
SECTION 11.1: PRINTING VARIABLES WHICH HAVE BEEN ASSIGNED                       
        INTEGER (NR1) CONSTANTS.                                                
                                                                                
                               BEGIN TEST.                                      
                                                                                
ASSIGNED       OUTPUT         ACTUAL                                            
CONSTANT       SHOULD BE      OUTPUT                                            
                                                                                
 1              1              1                                                
 12345          12345          12345                                            
 000            0              0                                                
+2              2              2                                                
-3             -3             -3                                                
-998765        -998765        -998765                                           
+6912           6912           6912                                             
                                                                                
*** TEST PASSED IF THE ACTUAL OUTPUT MATCHES THE OUTPUT                         
    AS IT SHOULD BE  ***                                                        
                                                                                
                                END TEST.                                       
                                                                                
SECTION 11.2: TRANSITIVE ASSIGNMENT OF AN NR1 CONSTANT.                         
                                                                                
                               BEGIN TEST.                                      
                                                                                
ASSIGNED       OUTPUT         ACTUAL                                            
CONSTANT       SHOULD BE      OUTPUT                                            
                                                                                
-99999         -99999         -99999                                            
                                                                                
*** TEST PASSES IF THE ACTUAL OUTPUT MATCHES THE OUTPUT                         
    AS IT SHOULD BE  ***                                                        
                                                                                
                                END TEST.                                       
                                                                                
SECTION 11.3: PRINTING VARIABLES WHICH HAVE BEEN ASSIGNED                       
        NR2 CONSTANTS.                                                          
                                                                                
                           BEGIN TEST.                                          
                                                                                
ASSIGNED       OUTPUT         ACTUAL                                            
CONSTANT       SHOULD BE      OUTPUT                                            
                                                                                
 1.05           1.05           1.05                                             
 358.672        358.672        358.672                                          
 0.0            0              0                                                
-2.1           -2.1           -2.1                                              
+3.1            3.1            3.1                                              
-2714.25       -2714.25       -2714.25                                          
+29.3054        29.3054        29.3054                                          
-0.00           0              0                                                
                                                                                
*** TEST PASSED IF ACTUAL OUTPUT MATCHES OUTPUT AS IT                           
    SHOULD BE (ALLOWING FOR OPTIONAL TRAILING ZEROS)  ***                       
                                                                                
                            END TEST.                                           
                                                                                
SECTION 11.4: TRANSITIVE ASSIGNMENT OF AN NR2 CONSTANT.                         
                                                                                
                            BEGIN TEST.                                         
                                                                                
ASSIGNED       OUTPUT         ACTUAL                                            
CONSTANT       SHOULD BE      OUTPUT                                            
                                                                                
-9999.99       -9999.99       -9999.99                                          
 1.5            1.5            1.5                                              
-2.5           -2.5           -2.5                                              
+3.5            3.5            3.5                                              
 4.5            4.5            4.5                                              
+5.5            5.5            5.5                                              
-6.5           -6.5           -6.5                                              
 9.99999        9.99999        9.99999                                          
                                                                                
*** TEST PASSED IF ACTUAL OUTPUT MATCHES OUTPUT AS IT                           
    SHOULD BE (ALLOWING FOR OPTIONAL TRAILING ZEROS)  ***                       
                                                                                
                                END TEST.                                       
                                                                                
END PROGRAM 11                                                                  
