213k views
1 vote
Suppose that you want to write a program that inputs customer data and displays a summary of the number of customers who owe more than $1000 each, in each of 12 sales regions. Customer data variables include name, zip-Code, balance Due, and region Number. At some point during record processing, you would add 1 to an array element whose subscript would be represented by _____. a. name

b. zip Code
c. balance Due
d. region Number

User Jalakoo
by
6.7k points

1 Answer

2 votes

Answer:

The correct option is D = regionNumber

Step-by-step explanation:

In this scenario we want to know customers who owe more than $1000 each, in each of 12 sales regions. And the customer data variables include name, zip-code, balanceDue and regionNumber; based on the customer data variables names and zip-code will not really affect our output. It is based on balanceDue that we increment the number of customer owing in a particular region (regionNumber).

Therefore, we would add 1 to an array element whose subscript would be represented by regionNumber since we are interested to know the number of customer owing in each of the 12 sales regions.

User Grant Lay
by
7.1k points