Question
To be written in C++ only. Three given files: part2.cpp #include #include #include // std::setprecision #include Cars.h using std::string; using std::cout; bool testAnswer(const string &nameOfTest,
To be written in C++ only.
Three given files:
part2.cpp
#include car_sales_small.txt Ford F-Series 62496 Ram Pickup 44872 Chevrolet Silverado 38459 Chevrolet Equinox 4738 Toyota RAV4 34609 Ford Explorer 20715 Toyota Tacoma 19423 Jeep Grand_Cherokee 24939 Ford Escape 10704 Honda CR-V 25056 car_sales_all.txt Ford F-Series 62496 Ram Pickup 44872 Chevrolet Silverado 38459 Toyota RAV4 34609 Honda CR-V 25056 Toyota Camry 20074 Nissan Rogue 16985 Toyota Highlander 19270 Honda Civic 20886 Jeep Grand_Cherokee 24939 Toyota Tacoma 19423 GMC Sierra 19246 Toyota Corolla 13940 Ford Explorer 20715 Jeep Wrangler 13300 Honda Accord 14435 Chevrolet Equinox 4738 Mazda CX-5 10419 Tesla Model_Y 13433 Subaru Forester 13930 Subaru Outback 12643 Ford Escape 10704 Toyota 4Runner 14851 Honda Pilot 11286 Hyundai Tuscon 13842 Honda HR-V 9832 Nissan Sentra 5680 Subaru CrossTrek 9494 Hyundai Elantra 5193 Tesla Model_3 11233 Chevrolet Traverse 7351 Lexus RX 11594 Kia Forte 8639 Hyundai Santa_Fe 8698 Volkswagen Tiguan 8248 Ford Bronco_Sport 6278 Chevrolet Tahoe 10294 Nissan Altima 9423 Ford Transit 8521 Ford Ranger 6992 Kia Telluride 7519 Chevrolet TrailBlazer 5421 Jeep Gladiator 6085 Hyundai Kona 5299 Jeep Cherokee 3459 Kia Sportage 6034 Hyundai Palisade 6882 Ford Edge 11456 Chevrolet Suburban 4677 GMC Yukon 8166 Hyundai Sonata 3514 Nissan Kicks 6075 Ford Expedition 7559 Toyota Tundra 3750 Kia Sorento 6490 Dodge Charger 5630 Honda Odyssey 3586 BMW X3 7288 Jeep Compass 5871 Kia Soul 3987 Chrysler Pacifica 12940 Subaru Ascent 6088 Chevrolet Colorado 7151 Buick Encore_GX 4508 Volkswagen Atlas 4885 Chevrolet Blazer 6662 Dodge Durango 4335 Mercedes-Benz GLE-Class 5832 Ram ProMaster 4728 Toyota Venza 5128 Nissan Versa 3448 BMW X5 6315 Nissan Frontier 7545 Audi Q5 3460 Acura MDX 5535 GMC Acadia 1411 Toyota Prius_Family 3946 Lexus NX 1516 Acura RDX 3488 Mazda CX-30 5160 Volkswagen Jetta 3082 Dodge Challenger 3391 Honda Passport 4609 Ford Mustang 4564 Mercedes-Benz GLC/GLK-Class 4558 Kia Seltos 3053 BMW 3-Series 4031 GMC Terrain 1351 Buick Envision 3819 Jeep Renegade 1727 Nissan Murano 2277 Lexus ES 4028 Chevrolet Express 2589 Volkswagen Atlas_Sport 3072 Chevrolet Trax 428 Buick Enclave 3256 Mazda 3 2019 Volvo XC60 3924 Honda Ridgeline 3816 Nissan Pathfinder 4146 Ford EcoSport 2992 Mercedes-Benz Sprinter 3568 Cadillac Escalade 3221 Chevrolet Malibu 2407 Volvo XC90 3604 Ford E-Series 3806 GMC Savana 1413 Toyota C-HR 941 Ford Bronco 9168 Subaru Impreza 4156 Audi Q3 2560 Mitsubishi Outlander_Sport 1831 Mitsubishi Outlander 4202 Chevrolet Corvette 2764 Lexus GX 3007 Mazda CX-9 1010 Volkswagen Taos 4546 Kia Rio 2800 Mercedes-Benz C-Class 577 Cadillac XT5 1176 Nissan Titan 1545 Subaru Impreza_WRX 2037 Ford Mustang_Mach_E 2349 Volvo XC40 1482 Mercedes-Benz GLB 1267 Kia Niro 2448 Ford Transit_Connect 2371 Acura TLX 653 Lexus LX 510 Lincoln MKX/Nautilus 1469 Audi Q7 1007 Chevrolet Bolt 8 BMW 5-Series 1995 Mercedes-Benz GL/GLS-Class 2256 Chevrolet Spark 484 Volkswagen Passat 2631 GMC Canyon 2052 Chrysler Town_and_Country 1 BMW X7 2192 Mini Cooper 1741 BMW 4-Series 2211 Nissan Armada 1377 Lincoln MKC 1827 Subaru Legacy 1729 Mitsubishi Mirage 1384 Porsche Macan 1808 Lexus IS 1393 Chevrolet Camaro 2270 Land_Rover Range_Rover_Sport 2700 Porsche Cayenne 1980 Mercedes-Benz E_/_CLS-Class 1104 Lincoln Aviator 1640 Hyundai Venue 2446 Cadillac XT6 980 Buick Encore 635 Genesis GV80 1738 Infiniti QX50 735 Hyundai Ioniq 1361 Land_Rover Defender 2467 Hyundai Accent 844 Honda Insight 479 Mazda 6 542 Toyota Avalon 1122 BMW X1 1573 Lexus UX 1577 Nissan NV200 147 Land_Rover Range_Rover 2467 Audi A5 977 Volkswagen ID.4 1488 Chrysler 300 677 Nissan Maxima 1264 Audi A4 579 BMW 2-Series 1044 Lincoln Navigator 1220 Volvo 60-Series 2482 Ram ProMaster_City 1039 Mercedes-Benz GLA-Class 873 Mercedes-Benz S-Class 1700 Nissan Leaf 1388 Dodge Journey 69 Acura ILX 1361 Infiniti Q50 837 Kia Stinger 918 Land_Rover Range_Rover_Velar 1300 Ford Maverick 6030 Mercedes-Benz Metris 1667 Infiniti QX80 966 Audi Q8 458 Mini Countryman 879 Ford Fusion 47 Cadillac XT4 1015 Tesla Model_S 1233 Nissan NV 25 Genesis GV70 1988 Genesis G70 681 BMW X4 1250 Alfa_Romeo Stelvio 845 Kia Carnival 1113 Mazda MX-5_Miata 211 Hyundai Santa_Cruz 3000 BMW X6 972 Audi A6 316 Cadillac CT5 603 Jaguar F-Pace 833 Porsche 911 813 Mitsubishi Eclipse_Cross 668 Porsche Taycan 506 Mercedes-Benz G-Class 762 Audi eTron 660 Mercedes-Benz A-Class 409 Toyota Sequoia 805 BMW 8-Series 720 BMW 7-Series 573 Alfa_Romeo Giulia 507 Tesla Model_X 333 Cadillac CT4 465 Land_Rover Discovery_Sport 667 Toyota Corolla_Cross 3500 Land_Rover Range_Rover_Evoque 733 Toyota Supra 483 Mercedes-Benz CLA-Class 514 BMW X2 564 Volkswagen Golf 270 Genesis G80 421 Infiniti QX60 485 Volkswagen Arteon 224 Jeep Wagoneer 1769 Porsche 718 497 Land_Rover Discovery_/_LR4 533 Infiniti QX55 452 Lexus LS 178 Toyota Land_Cruiser 13 Porsche Panamera 250 Mercedes-Benz AMG_GT 101 Audi A7 104 Dodge Grand_Caravan 27 Lexus RC 94 Jaguar E-Pace 267 Lexus LC 145 Infiniti Q60 175 Jeep Grand_Wagoneer 862 Toyota Mirai 28 Honda Clarity_FCV 43 BMW Z4 214 Audi A3 328 Subaru BRZ 1069 Mitsubishi Outlander_PHEV 201 Jaguar F-Type 233 Audi A8 102 Hyundai Veloster 71 Genesis G90 171 Lincoln MKZ 3 Chevrolet Sonic 6 Volvo 90-Series 147 BMW i3 66 Lincoln Continental 36 Jaguar I-Pace 200 Audi e-Tron_GT 255 Jaguar XF 133 Fiat 500X 67 Audi TT 54 Fiat 124_Spider 7 Chevrolet Impala 3 Audi R8 51 Audi e-Tron_Sportback 128 Mercedes-Benz SL-Class 1 Mercedes-Benz EQS-Sedan 443 Hyundai Nexo 37 Jaguar XE 33 Nissan GT-R 20 Acura RLX 2 Fiat 500L 4 Hyundai Ioniq_5 153 Ford GT 14 Acura NSX 1 Toyota GR86 107 Lexus GS 1 Mazda MX-30 61 BMW 6-Series 1 Fiat 500 11 Audi Q4_e-tron 15 Volvo C40 42 BMW i8 2 Buick Regal 1 Audi Q4_e-tron_Sportback 6 Chrysler 200 3 Jeep Patriot 3 Dodge Dart 2 Dodge Viper 1
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