| |
GeekInterview.com > Placement Papers > TCS > COBOL
| Print | |
Question: Consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWANCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWANCES has a value of 250, what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
|
| February 02, 2008 01:46:14 |
#3 |
| varun.kan |
Member Since: February 2008 Total Comments: 2 |
RE: Consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWANCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWANCES has a value of 250, what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.0125 |
| its b |
| |
Back To Question | |