Multiple choice

What is the size of the COBOL variable with picture cause S999V99?

  1. 7

  2. 6

  3. 4

  4. 5

  5. 8

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

9, A, X are used in determining the size of the variable. PICTURE clause S999V99 indicates that the value of the variable is represented as 3 digits before decimal and two digits after decimal. So, the size is 5 digits.