////////////////////////////////////////////// // RUNS FOR PROBLEM #2 ON PAGE 337 ARE BELOW ////////////////////////////////////////////// ============================================ Basic integer sorting from file (with smallest & greatest integer found) ============================================ Input file name (including extension): Integers.txt The smallest number is: 23 The largest number is: 2021 The numbers in order from smallest to largest are : 23, 33, 44, 120, 234, 340, 501, 530, 567, 2021, C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 6868) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . . ////////////////////////////////////////////// // RUNs FOR PROBLEM #3 ON PAGE 337 ARE BELOW ////////////////////////////////////////////// ============================================ Basic text file reader (with line counter and character counter) ============================================= Input file name (including extension): TextFile.text ERROR: Unable to open file with name 'TextFile.text' C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 8816) exited with code 1. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . . ============================================ Basic text file reader (with line counter and character counter) ============================================= Input file name (including extension): TextFile.txt 1 This is the first sentence, hello. [34] 2 This is the second sentence, awesome! [37] 3 This is the third sentence, it's a doozy. [41] 4 This is the fourth sentence, lovely? [36] 5 This is the fifth sentence, bye [31] C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 11800) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . . ////////////////////////////////////////////// // RUNS FOR PROBLEM #4 ON PAGE 337 ARE BELOW ////////////////////////////////////////////// ~~~~~~~~~~~~~~~~~~~~~~~~~~ Basic database program ~~~~~~~~~~~~~~~~~~~~~~~~~~ ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 4 Name (last, first) Phone Number Birthday ------------------------------------------------------------------------------------ Clackin, Clayton 635-254-1458 2/23/1999 Falcon, Scarlett 636-985-6742 10/17/1975 Megadude, Todd 555-123-4567 11/24/1990 Pies, Sherri 321-987-6542 1/19/2005 Pizzaguy, Tony 503-928-6666 5/21/2010 Strangelove, Breanna 666-321-9856 6/18/1804 ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 1 Enter the person's first name (case sensitive): Todd Enter the person's last name (case sensitive): Megadude ~~~~ First name: Todd Last name: Megadude Phone number: 555-123-4567 Birthday: 11/24/1990 ~~~~ ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 2 Enter first name (no spaces): Katie Enter last name (no spaces): Dutch Enter phone number (ex: 555-123-4567): 552-180-9623 Enter birthday mm/dd/yyyy (ex: 1/26/1996): 2/8/1950 ~~ ~~ Data entered successfully! ~~ ~~ ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 4 Name (last, first) Phone Number Birthday ------------------------------------------------------------------------------------ Clackin, Clayton 635-254-1458 2/23/1999 Dutch, Katie 552-180-9623 2/8/1950 Falcon, Scarlett 636-985-6742 10/17/1975 Megadude, Todd 555-123-4567 11/24/1990 Pies, Sherri 321-987-6542 1/19/2005 Pizzaguy, Tony 503-928-6666 5/21/2010 Strangelove, Breanna 666-321-9856 6/18/1804 ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 3 Enter the peron's first name (case sensitive): Katie Enter the peron's last name (case sensitive): Dutch Person not found. --------------------------------------- What info would you like to change? --------------------------------------- 1. First name 2. Last name 3. Phone number 4. Birthday Menu choice: 2 Enter new last name (no spaces): Zenith Change successful! ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 4 Name (last, first) Phone Number Birthday ------------------------------------------------------------------------------------ Clackin, Clayton 635-254-1458 2/23/1999 Falcon, Scarlett 636-985-6742 10/17/1975 Megadude, Todd 555-123-4567 11/24/1990 Pies, Sherri 321-987-6542 1/19/2005 Pizzaguy, Tony 503-928-6666 5/21/2010 Strangelove, Breanna 666-321-9856 6/18/1804 Zenith, Katie 552-180-9623 2/8/1950 ============================== What would you like to do? ============================== 1. Find person's info 2. Add person's info 3. Edit a person's info 4. Display all records 5. Exit Menu choice: 5 ~~ ~~ Output file successfully written! ~~ ~~ ~ Goodbye! ~ C:\Users\eclip\Source\Repos\cst116-lab9-JosephTenEyck\Debug\CST116F2021-Lab9.exe (process 15744) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . .