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

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

النسخة 7الرقم المعياري الدولي: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

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

النسخة 7الرقم المعياري الدولي: 1285225562
تمرين 30

Typically, the value added to an accumulator variable is __________ .

a. 0

b. 1

c. the same for each iteration

d. different in each iteration

الحلول خطوة بخطوة
موثّق
like image
like image

الخطوة 1 من2

Accumulator

The accumulator is a variable that is used to gather or accumulate the values. So the value of an accumulator gets increased, iteration by iteration.

Hence the correct option is (d) different in each iteration .


الخطوة 2 من 2

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