Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago