Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Take a look at the example below. What is 1 BY 1 doing to the variable SUB? In COBOL MOVE ZERO TO TOT-AMT. PERFORM 2000-CALCULATE
Take a look at the example below. What is 1 BY 1 doing to the variable SUB? In COBOL
MOVE ZERO TO TOT-AMT. PERFORM 2000-CALCULATE VARYING SUB FROM 1 BY 1 UNTIL SUB > 6. 2000-CALCULATE. COMPUTE TOT-AMT = TOT-AMT + BIMONTH-END (SUB).
A. Decrementing 1 from SUB until > than 6.
B. Multiplying by 1 to SUB until > than 6.
C. Adding 1 to SUB until > than 6.
D. Subtracing 1 from SUB until > than 6.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started