Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ In the file: 100%Malia%Rocha%27 Coffee Street%Des Plaines%IL%60016 101%Josue%Barton%9221 Livingston%St. Encino%CA%91316 102%Justus%Espinoza%26 Glenlake Lane%Jackson%NJ%08527 103%Rey%Carson%424 Squaw Creek St.%Suwanee%GA%30024 104%Laurel%Chung%9670 Canterbury Dr.%East Hartford%CT%06118 105%Violet%Vargas%41 Pulaski Dr.%Colorado
C++
In the file:
100%Malia%Rocha%27 Coffee Street%Des Plaines%IL%60016 101%Josue%Barton%9221 Livingston%St. Encino%CA%91316 102%Justus%Espinoza%26 Glenlake Lane%Jackson%NJ%08527 103%Rey%Carson%424 Squaw Creek St.%Suwanee%GA%30024 104%Laurel%Chung%9670 Canterbury Dr.%East Hartford%CT%06118 105%Violet%Vargas%41 Pulaski Dr.%Colorado Springs%CO%80911 106%Elias%Mendoza%81 Sunnyslope Street%Gurnee%IL%60031 107%Tessa%Barnett%28 Clinton%St. Thomasville%NC%27360 108%Grady%Frey%8193 State%St. Greenfield%IN%46140 109%Callum%Dickerson%129 West Orchard St.%Vicksburg%MS%39180 110%Walter%Galvan%8 Poor House Dr.%Mebane%NC%27302 111%Terrell%Herring%66 Piper Ave.%Raleigh%NC%27603 112%Scott%Hurst%7835 Grove Road%Fayetteville%NC%28303 113%Yael%Krueger%27 Circle Dr.%Euless%TX%76039 114%Cassandra%Bullock%431 Tanglewood Street%Galloway%OH%43119 115%Celeste%Clark%5 Old York Drive%Stroudsburg%PA%18360 116%Keith%Leon%80 Hanover St.%Lincolnton%NC%28092 117%Davis%Huber%139 West Shirley Ave.%Opa Locka%FL%33054 118%Emmanuel%Berry%7180 Silver Spear Ave.%Kennesaw%GA%30144 119%Miriam%Saunders%471B NE. Virginia Drive%Kokomo%IN%46901 120%Mackenzie%Thornton%7028 Ohio Dr.%West Hempstead%NY%11552 121%Nathaniel%Bean%9625 South Alderwood Drive%Alliance%OH%44601 122%Bennett%Mann%17 West Race Lane%Appleton%WI%54911 123%Savion%Yates%8738 Somerset Drive%Daphne%AL%36526 124%Lyla%Duncan%674 Jefferson Ave.%Erie%PA%16506 125%Tristan%Berg%150 Country Rd.%Fuquay Varina%NC%27526 126%Kole%Craig%8163 Elizabeth Dr.%Belleville%NJ%07109 127%Patricia%Manning%69 Bow Ridge St.%Westlake%OH%44145 128%Amari%Melton%87 Annadale Road%Opa Locka%FL%33054 129%Heidy%Mcpherson%909 Kent St.%Des Moines%IA%50310 130%Irene%Morrow%660 Warren Dr.%Wilmette%IL%60091 131%Zack%Pacheco%260 S. Bay Ave.%Owensboro%KY%42301 132%Faith%Serrano%9354 Plumb Branch St.%Livonia%MI%48150 133%Bridget%Sellers%425 N. Redwood St.%Oklahoma City%OK%73112 134%Karli%Humphrey%910 Pin Oak St.%Covington%GA%30014 135%Braelyn%Williams%1 New Lane%Hartford%CT%06106 136%Brett%Mcbride%311 Clinton Ave.%Owosso%MI%48867 137%Jayvon%Porter%91 Sycamore Ave.%Hudson%NH%03051 138%Gianna%Ayers%91 53rd St.%Bakersfield%CA%93306 139%Warren%Cantrell%868 Lantern Ave.%Pottstown%PA%19464 140%Brylee%Vaughn%2 Silver Spear Rd.%Saint Petersburg%FL%33702 141%Marquis%Schmitt%9873 North Cedar Circle%Ronkonkoma%NY%11779 142%King%Villanueva%120 Beechwood Ave.%Wantagh%NY%11793 143%Alaina%Sawyer%485 Longfellow Drive%Vicksburg%MS%39180 144%Hassan%Arroyo%77 Shirley Court%Deltona%FL%32725 145%Elsie%Lang%319 Shore Street%Morrisville%PA%19067 146%Kaelyn%Cabrera%6 Cactus Rd.%Lumberton%NC%28358 147%Lilianna%Allison%874 E. Annadale Street%Palm Beach Gardens%FL%33410 148%Darius%Osborne%385 East Young St.%Shrewsbury%MA%01545 149%Laila%Sharp%47 Hamilton Ave.%New Kensington%PA%15068 150%Zayden%Whitney%9054 Chapel Dr.%Blacksburg%VA%24060 151%Sophie%Noble%547 Big Rock Cove Avenue%Oswego%NY%13126 152%Chaz%Campos%9 Railroad Lane%Stevens Point%WI%54481 153%Carter%Choi%7359 Woodside Drive%Hinesville%GA%31313 154%Tatum%Holmes%14 Military Ave.%Duluth%GA%30096 155%Hayden%Roth%37 Princeton Court%Windsor%CT%06095 156%Amaya%Richmond%966 Court Circle%Gettysburg%PA%17325 157%Josh%Mack%7 Southampton Drive%Lansdowne%PA%19050 158%Delilah%Valenzuela%61 N. Birchwood St.%Eden Prairie%MN%55347 159%Roger%Macdonald%89 S. Grand Street%Boca Raton%FL%33428 160%Kylan%Huynh%78 Richardson Dr.%Watertown%MA%02472 161%Karsyn%Boyer%48 S. Big Rock Cove Dr.%Sioux City%IA%51106 162%Maximillian%Hendrix%30 N. Walnutwood Dr.%Livonia%MI%48150 163%Beau%Simmons%7 Main Ave. Chevy%Chase%MD%20815 164%Leandro%Bender%8815 Gulf Dr.%Westbury%NY%11590 165%Taryn%Malone%55 Franklin Circle%New Kensington%PA%15068 166%Damien%Gillespie%5 Circle Street%Westfield%MA%01085 167%Hailie%Hess%544 Valley Court%Wenatchee%WA%98801 168%Erica%Poole%920 Annadale St.%Brandon%FL%33510 169%Amiah%Nelson%740 Winchester Drive%Long Branch%NJ%07740 170%Dayanara%Morton%42 Old Hartford Dr.%Carpentersville%IL%60110 171%Sasha%Hamilton%4 Front Lane%Howard Beach%NY%11414 172%Kylee%Washington%260 South Marconi Ave.%Delray Beach%FL%33445 173%Audrina%Pierce%55 Nut Swamp Street%Oak Creek%WI%53154 174%Jalen%Floyd%93 Greystone St.%High Point%NC%27265 175%Miley%Curtis%65 Leatherwood Av.%Reading%MA%0186785 176%Marlie%Austin%65 Orange Street%Brooklyn%NY%11201 177%Isabel%Davila%921C W. 4th St.%Zion%IL%60099 178%Leia%Doyle%7684 Oak Street%West Warwick%RI%02893 179%Aaliyah%Cohen%1 Nichols Lane%Franklin Square%NY%11010 180%Deegan%Harding%61 W. Oak Valley Street%Burnsville%MN%55337 181%Tyshawn%Moore%9521 2nd Street%Eugene%OR%97402 182%Riley%Wise%79 Grove Lane%Tewksbury%MA%01876 183%Addison%Ballard%92 Surrey Street%Newport News%VA%23601 184%Ryder%Fuller%2 Washington Drive%Addison%IL%60101 185%Kenzie%Booker%9948 East Gates Road%Roanoke Rapids%NC%27870 186%Ashtyn%Knight%30 Cooper Dr.%Madison Heights%MI%48071 187%Lesly%Blanchard%98 Peninsula Ave.%Deer Park%NY%11729 188%Kash%Vazquez%49 Rockville Ave.%Chardon%OH%44024 189%Emmett%Griffin%844 Pheasant Court%Taylor%MI%48180 190%Marina%Petersen%278 South Grandrose Rd.%Soddy Daisy%TN%37379 191%Cherish%Perez%7042 Monroe Dr.%Linden%NJ%07036 192%Cassie%Becker%668 Holly St.%Muskogee%OK%74403 193%Katrina%Fowler%8518 Fordham Court%Fall River%MA%02720 194%Moriah%James%726 Middle River Ave.%Morrisville%PA%19067 195%Charity%Wright%9930 Theatre St.%State College%PA%16801 196%Izaiah%Murphy%647 Glen Creek St.%Streamwood%IL%60107 197%Brooklynn%Wheeler%9843 Tarkiln Hill%St. Medina%OH%44256 198%Laney%Jefferson%9722 South Glenwood Street%Anchorage%AK%99504 199%Charlee%Moon%957 Whitemarsh Street Lawrence%Township%NJ%08648Requirements This program demonstrates file operations. Supply appropriate interaction (input/output) with your user. Again, provide appropriate interaction (input/output) with your user. Use the file CustomerMaster.txt which contains 100 records of customer data in the following format: CustotmerID, FirstName, LastName, StreetAddress, City, State, ZipCode. All fields are separated by percent signs. Create the following files to support the operations below: 1. Products.txt with the following fields: ProductID, Description, Price 2. Orders.txt with the following format: OrderID, CustomerID, ProductID, Quantity, OrderTotal Enable your user to perform these minimum iterated operations: 1. Add products to the Products.txt file and populate all fields 2. Add orders to the Orders.txt file and populate all fields After each selection, ask your user if s/he has another request to process. Provide the following minimum reporting capabilities as iterated choices: 1. List of cities in CustomerMaster.txt 2. List of states in CustomerMaster.txt 3. All customer records in a city 4. All cusomer records in a state 5. All orders associated with a customer by CustomerID 6. All orders associated with a customer by ZipCode After each selection, ask your user if s/he has another request to process
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