Question: Using the following decision table to code a COBOL nested IF test to assign avalue to WS-DISCOUNT-RATE. You must first test to make sure WS

Using the following decision table to code a COBOL nested IF test to assign avalue to WS-DISCOUNT-RATE. You must first test to make sure WS -AGE is the correct data type. If not, an appropriate message should be displayed. You may use magic numbers.

When

WS -AGE PIC 99 is

WS-DISCOUNT-RATE

PIC 9V99 is assigned to be

51-99

0.07

19-50

0.03

0-18

0.00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!