Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CODE: https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504273/View Member texts: https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504272/View or 1111#Thomas Johnson#Single#23#Male#209.99# 2222#Jane Williams#Single#42#Female#199.50# 3333#John Atkins#Couple#25#Male#300# 4444#Gregory Thomas#Family#45#Male#450# 5555#Henry Green#Single#23#Male#199# 6666#William Hilling#Family#35#Male#325.00# 7777#Karen Power#Couple#42#Female#199.80# 8888#Marie Smith#Single#28#Female#209.00# Register texts:https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504347/View or

CODE: https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504273/View

Member texts: https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504272/View or

1111#Thomas Johnson#Single#23#Male#209.99#

2222#Jane Williams#Single#42#Female#199.50#

3333#John Atkins#Couple#25#Male#300#

4444#Gregory Thomas#Family#45#Male#450#

5555#Henry Green#Single#23#Male#199#

6666#William Hilling#Family#35#Male#325.00#

7777#Karen Power#Couple#42#Female#199.80#

8888#Marie Smith#Single#28#Female#209.00#

Register texts:https://calu.desire2learn.com/d2l/le/content/3179339/viewContent/32504347/View

or 1111#Yoga# 1111#Karate# 1111#SwimmingI# 1111#AerobicsII# 2222#SwimmingII# 2222#Karate# 3333#SwimmingI# 3333#Yoga# 3333#AerobicsII# 4444#SwimmingI# 4444#Yoga# 4444#Karate# 5555#Karate# 5555#SwimmingII# 5555#Yoga# 6666#Yoga# 6666#Karate# 6666#SwimmingI# 7777#SwimmingII# 7777#Karate# 7777#AerobicsII# 8888#Yoga# 8888#AerobicsII# 8888#SwimmingII#

WHAT TO MODIFY Add two new sets of parallel arrays to your program, these arrays will store the information that will be read in from the register.txt file. That file contains the member's code and the name of the class they will be registered for. The two parallel arrays will be names of your choice, but each will be defined as being 100 big. Again, you will need to define: Register Member code to be an Integer array defined as 100 big Register Class name to be a String array defined as 100 big You will also need to define a new variable that will keep track of how many registration items that have been read in from the data file. This new variable will work with the registration file the same way the variable mcount works with the member file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Research Methods For Business Students

Authors: Mark N.K. Saunders, Philip Lewis, Adrian Thornhill

7th Edition

1292016620, 9781292016627

More Books

Students also viewed these Programming questions

Question

Write a Python program to check an input number is prime or not.

Answered: 1 week ago