Which of the following code fragments is correct?

A. FOR i IN 1..tbl.COUNT
    lv_tot_num := lv_tot_num + tbl_roast(i);
END LOOP;

B. FOR i IN 1..tbl.COUNT LOOP
    lv_tot_num := lv_tot_num + tbl_roast(i)
END LOOP

C. FOR i IN 1..tbl.COUNT LOOP
    lv_tot_num = lv_tot_num + tbl_roast(i);
END LOOP;

D. FOR i IN 1..tbl.COUNT LOOP
    lv_tot_num := lv_tot_num + tbl_roast(i);
END LOOP;


Answer: D

Business

You might also like to view...

What is the purpose of the PRSA Member Statement of Professional Values?

What will be an ideal response?

Business

What is a BARS system?

What will be an ideal response?

Business

Procedural languages allow developers to ____.

A. write queries B. manipulate databases C. create tables D. perform decision-making logic

Business

The Himalaya Clause governs the liability captains of carriers for damage to goods being transported from one U.S. seaport to another U.S. seaport

Indicate whether the statement is true or false

Business