Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Also can you please do the extra credit? Thanks. This assignment is designed to introduce you to some of the aspects of data base management

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Also can you please do the extra credit? Thanks.

This assignment is designed to introduce you to some of the aspects of data base management systems. Tra- ditional data bases have some elementary operations that are implemented to meet user's needs appropriately First of all, records must be added to the data base. This will be part of our input operation. As we read the data in from an input file, we'll be adding it to storage for later reference. Secondly, we'l need to search the data base for those data values that are of interest to us. This could represent a search for a particular data record or it could be a search whereby we generate a subset of the data all with data subfields equal to some value. Finally, we will need to delete records or modify records in a data base. Our current exercise will provide us with the opportunity to demonstrate some of these features of data base management Assignment 7 Statement: Write a program in a file named Bowling7.cpp that uses parallel arrays to store information that is on each line of the input file bowling.txt. Each line of that file contains a bowling team member's first name (string), one of two bowling team names (string data equal to either "Blue" or "White"), and that bowling team member's score in a bowling match (int). Each line of the file contains a unique bowling team member so that you do not need to worry about repeated team member's names or embedded blanks within the field. Also, eachteam is guaranteed to have the same number of team members. Your program should use a function to sum the scores of each of the two teams. Once you determine the maximum score, your program should display on the monitor a message as to which team won and then use a function to display each of the winning team member's name and score. The parallel array strategy implies that you will need 2 arrays of type string for the team member's name and 2 arrays of type int for the team menber'S SCOre This assignment is designed to introduce you to some of the aspects of data base management systems. Tra- ditional data bases have some elementary operations that are implemented to meet user's needs appropriately First of all, records must be added to the data base. This will be part of our input operation. As we read the data in from an input file, we'll be adding it to storage for later reference. Secondly, we'l need to search the data base for those data values that are of interest to us. This could represent a search for a particular data record or it could be a search whereby we generate a subset of the data all with data subfields equal to some value. Finally, we will need to delete records or modify records in a data base. Our current exercise will provide us with the opportunity to demonstrate some of these features of data base management Assignment 7 Statement: Write a program in a file named Bowling7.cpp that uses parallel arrays to store information that is on each line of the input file bowling.txt. Each line of that file contains a bowling team member's first name (string), one of two bowling team names (string data equal to either "Blue" or "White"), and that bowling team member's score in a bowling match (int). Each line of the file contains a unique bowling team member so that you do not need to worry about repeated team member's names or embedded blanks within the field. Also, eachteam is guaranteed to have the same number of team members. Your program should use a function to sum the scores of each of the two teams. Once you determine the maximum score, your program should display on the monitor a message as to which team won and then use a function to display each of the winning team member's name and score. The parallel array strategy implies that you will need 2 arrays of type string for the team member's name and 2 arrays of type int for the team menber'S SCOre

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions