expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
Exercise 32

After an accumulator or counter variable is displayed at the end of a program, it is best to __________ .

a. delete the variable from the program

b. reset the variable to 0

c. subtract 1 from the variable

d. none of the above

Step-by-step solution
Verified
like image
like image

Step 1 of 2

Accumulator or Counter Variables

An accumulator or counter variable is displayed at the end of the program, is not best to delete the variable from the program, or reset the variable to zero, or subtract 1 from the variable.

Hence the option (d) is correct.


Step 2 of 2

close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon