diff options
Diffstat (limited to 'RUNS.txt')
| -rw-r--r-- | RUNS.txt | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/RUNS.txt b/RUNS.txt new file mode 100644 index 0000000..6e0ac21 --- /dev/null +++ b/RUNS.txt @@ -0,0 +1,185 @@ +//////////////////////////////////////////////////////////// + RUNS FOR PROBLEM #1 LEARN BY DOING ON PAGE 323 ARE BELOW +//////////////////////////////////////////////////////////// + + + Enter up to 25 integers + + Integer 1 : 5 + + Enter another? (y/n): y + + Integer 2 : 6 + + Enter another? (y/n): y + + Integer 3 : 7 + + Enter another? (y/n): y + + Integer 4 : 8 + + Enter another? (y/n): n + + The median is 6.5 + +C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 13772) 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 . . . + + + + Enter up to 25 integers + + Integer 1 : 8 + + Enter another? (y/n): y + + Integer 2 : 9 + + Enter another? (y/n): y + + Integer 3 : 10 + + Enter another? (y/n): y + + Integer 4 : 11 + + Enter another? (y/n): y + + Integer 5 : 12 + + Enter another? (y/n): n + + The median is 10 + +C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 14304) 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 . . . + + + + + Enter up to 25 integers, smallest to greatest + + Integer 1 : 1 + + Enter another? (y/n): y + + Integer 2 : 3 + + Enter another? (y/n): y + + Integer 3 : 11 + + Enter another? (y/n): y + + Integer 4 : 16 + + Enter another? (y/n): y + + Integer 5 : 18 + + Enter another? (y/n): y + + Integer 6 : 20 + + Enter another? (y/n): n + + The median is 13.5 + +C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 11024) 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 DEBUGGING EXERCISE ON PAGE 333 ARE BELOW +////////////////////////////////////////////////////// + +//EXERCISE 1 + +Trouble Opening File + + ** About to EXIT NOW! ** +C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 10236) 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 . . . + + + +David 24 +Melissa 25 +Flunker 99 +John 19 +Terry 20 + + + ** Total Records: 5 ** + The End + +C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 18304) 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 . . . + + + +David 24 +Melissa 25 +Flunker 99 +John 19 +Terry 20 +Jill 22 + + + ** Total Records: 6 ** + The End + +C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 10692) 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 . . . + + + +//EXERCISE 2 + +Trouble Opening File + + ** About to EXIT NOW! ** +C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 16168) 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 . . . + + + +Trouble Opening 'dta File.txt' + + ** About to EXIT NOW! ** +C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 3240) 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 . . . + + +////////////////////////////////////////////////////////////////// +// RUN FOR PROBLEM #1 PROGRAMMING EXERCISES ON PAGE 336 IS BELOW +////////////////////////////////////////////////////////////////// + + ======================== + EMPLOYEE INFORMATION + ======================== + + Base Hours Full/Part Straight Over +Name SS# Wage Worked Time Time Pay Time Pay Net Pay +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +John Smith 123-09-8765 $9 46 F $160 $24 $184 +Molly Brown 432-89-7654 $9.5 40 F $180 $0 $180 +Tim Wheeler 239-34-3458 $11.25 83 F $250 $268.75 $518.75 +Keil Wader 762-84-6543 $6.5 35 P $227.5 $0 $227.5 +Trish Dish 798-65-9844 $7.52 40 P $300.8 $0 $300.8 +Anthony Lei 934-43-9843 $9.5 56 F $180 $72 $252 +Kevin Ashes 765-94-7343 $4.5 30 P $135 $0 $135 +Cheryl Prince 983-54-9000 $4.65 45 F $-14 $-1.75 $-15.75 +Kim Cares 343-11-2222 $10 52 F $200 $60 $260 +Dave Cockroach 356-98-1236 $5.75 48 F $30 $6 $36 +Will Kusick 232-45-2322 $15 45 P $600 $75 $675 |