Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My dataset is the list of NFL combine players and their results from 2016-2019 (the results being Height, Weight, Wonderlic Score, 40yard dash, Bench Press,

image text in transcribed

My dataset is the list of NFL combine players and their results from 2016-2019 (the results being Height, Weight, Wonderlic Score, 40yard dash, Bench Press, Vertical Jump)

For the calculation function, I want to calculate the average weight of a player (the weight is a column in the dataset).

I specifically would like help with the 5 fields/getters/setters/constructors (are getters/setters/constructors fields?), as well as reading in the file and storing it as a vector of objects of the class

Requirements Data Set Your data set must contain at least 1000 entries (rows). Each entry must have at least 5 attributes (columns). At least one attribute must be unique for each entry in the data set (i.e. no duplicates). Keep in mind, you will be using this data set for the rest of the projects this semester. Class Your class must have at least 5 fields where at least one is a numerical type and at least one is a string type. You should have constructors, getters, setters, and other methods as appropriate. Global Functions You must create a function that opens your data file and reads the data into a vector of objects of your class. You must create a function that will loop through your vector of data and perform some kind of calculation on it. Design Consider the following questions: What data do you want to use? Where will you get it from? - How will you store it in a file? Is it in csv format? How will you read it in using C++? How will you know that it read in correctly? - What should you name the class? What fields do you need? What are their types? What names make sense? Which fields and methods need comments to clarify their meaning? - What function makes the most sense to calculate on your data

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions