Question: A . Discussion : At what point should you consider changing from individual variables to an array? Is it reasonable to use an array when

A. Discussion: At what point should you consider changing from individual variables to an array? Is it reasonable to use an array when you only have two or three items to track? Why or why not? Consider the number of sets of those two or three items when making your decision.

B. Write the pseudocode to do the following: 1. Use arrays to store data for student names, ID number, and gender into an array (tip: parallel arrays)

2. Print the contents of each record using the array

3. Count the number of male and female students by using the array, and print the counts.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!