Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview For this assignment, you are going to load a series of files containing data and search the loaded data for specific criteria. That might
Overview
For this assignment, you are going to load a series of files containing data and search the loaded data for specific criteria.
That might sound a bit dry, but the files contain information about LEGO sets, and everyone loves LEGO! The structure of
this assignment is a bit openended; you can solve this problem in any way that you see fit.
Description
First things first, the files: There are main data files that you will be loading in this assignment:
legocsv
legocsv
legocsv
The data that you will be loading is information about a LEGO set:
Its set number really a string, something like:
The theme it comes from City Technic, Star Wars, etc.
The name of the set
How many parts and minifigures it contains if any
Its price in US dollars for this variable, use a double instead of a float
Your goal is to read this from of or more of these files, store the data, and then search it based on a few different criteria.
Main.cpp is the only file required for this assignment, but you are free to write any classfunctions that you see fit to assist
you solve this problem. Main.cpp has some structure to it already to help you get started. Take some time to think about
the problem, and how you might go about this before diving in
Searches
The different searches you will perform will be based on a menu that might look like this:
Most expensive
Largest piece count
Search for set name containing...
Search themes...
Part count information
Price information
Minifigure information
If you bought one of everything...
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started