diff options
Diffstat (limited to 'CST116F2021-Lab9/RUNS.txt')
| -rw-r--r-- | CST116F2021-Lab9/RUNS.txt | 206 |
1 files changed, 206 insertions, 0 deletions
diff --git a/CST116F2021-Lab9/RUNS.txt b/CST116F2021-Lab9/RUNS.txt index f8fcf68..d348660 100644 --- a/CST116F2021-Lab9/RUNS.txt +++ b/CST116F2021-Lab9/RUNS.txt @@ -3,6 +3,28 @@ ////////////////////////////////////////////// + ============================================ + 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 ////////////////////////////////////////////// @@ -54,3 +76,187 @@ Press any key to close this window . . . ////////////////////////////////////////////// + + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + 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 . . . |