Question: The code segment below is doing what? In Cobol. EVALUATE TRUE WHEN IN-HRS-WORK > 40 MULTIPLY (IN-HRS-WORK 40) BY OT-RATE GIVING CALC-GROSS-PAY WHEN IN-HRS-WORK

The code segment below is doing what? In Cobol.

EVALUATE TRUE

WHEN IN-HRS-WORK > 40 MULTIPLY (IN-HRS-WORK 40) BY OT-RATE GIVING CALC-GROSS-PAY WHEN IN-HRS-WORK <= 40 MULTIPLY IN-HRS-WORK BY IN-RATE GIVING CALC-GROSS-PAY END-EVALUATE.

A. Evaluating each statement for a FALSE.

B. Waiting until CALC-GROSS-PAY is the color red.

C. Evaluating each statement for a TRUE

D. Watch for a positive value.

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!