diff options
| author | Benjamin Schroeder <[email protected]> | 2021-11-07 12:00:18 -0800 |
|---|---|---|
| committer | Benjamin Schroeder <[email protected]> | 2021-11-07 12:00:18 -0800 |
| commit | 5f038d34a4c55410144451d4e875d2ee2fb4e269 (patch) | |
| tree | 3bbb18dbf95b8fb502367001bbc7d2c71734f872 /Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt | |
| parent | Add .gitignore and .gitattributes. (diff) | |
| download | project2_fhernandez_bschroeder-5f038d34a4c55410144451d4e875d2ee2fb4e269.tar.xz project2_fhernandez_bschroeder-5f038d34a4c55410144451d4e875d2ee2fb4e269.zip | |
Add project files.
Diffstat (limited to 'Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt')
| -rw-r--r-- | Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt | 371 |
1 files changed, 371 insertions, 0 deletions
diff --git a/Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt b/Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt new file mode 100644 index 0000000..fcfe956 --- /dev/null +++ b/Project2_Fhernandez_BSchroeder/Project2_TestRuns.txt @@ -0,0 +1,371 @@ +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 1 + +Enter a number between -1,000,000 and 1,000,000: -1233215 + +Enter a number between -1,000,000 and 1,000,000: -12354 + + 1) Positive or Negative + -12354 is a negative number. + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 1 + +Enter a number between -1,000,000 and 1,000,000: 12354 + + 1) Positive or Negative + 12354 is a positive number. + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 2 + +Enter a number between -1,000,000 and 1,000,000: 123 + + 2) Odd or Even. + 123 is an odd number + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 2126 + (Pick an option from 1 to 10): 2 + +Enter a number between -1,000,000 and 1,000,000: 126 + + 2) Odd or Even. + 126 is an even number + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 3 + +Enter a number between -1,000,000 and 1,000,000: 64 + + 3) Find the square root + The square root of 64 is: 8 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 3 + +Enter a number between -1,000,000 and 1,000,000: -64 + + 3) Find the square root + Negative numbers do not have square roots. + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 3 + +Enter a number between -1,000,000 and 1,000,000: 0 + + 3) Find the square root + Zero doesn't have a square root. + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 4 + +Enter a number between -1,000,000 and 1,000,000: -6549 + + 4) Change the sign + Changing the sign of -6549 gives us 6549 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 4 + +Enter a number between -1,000,000 and 1,000,000: 6549 + + 4) Change the sign + Changing the sign of 6549 gives us -6549 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 5 + +Enter a number between -1,000,000 and 1,000,000: 985462 + + 5) How many digits + 985462 has 6 digits + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 6 + +Enter a number between -1,000,000 and 1,000,000: 998745 + + 6) Find the digit at a specific position + Which digit position are you interested in?: 4 + Digit position #4 of 998745 is: 8 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 7 + +Enter a number between -1,000,000 and 1,000,000: 12345 + + 7) Reverse the digits + 12345 reversed is: 54321 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 7 + +Enter a number between -1,000,000 and 1,000,000: -654321 + + 7) Reverse the digits + -654321 reversed is: -123456 + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 8 + + The Addition Table + + + + | 1 2 3 4 5 6 7 8 9 10 11 12 +---|--------------------------------------- +1 | 2 3 4 5 6 7 8 9 10 11 12 13 +2 | 3 4 5 6 7 8 9 10 11 12 13 14 +3 | 4 5 6 7 8 9 10 11 12 13 14 15 +4 | 5 6 7 8 9 10 11 12 13 14 15 16 +5 | 6 7 8 9 10 11 12 13 14 15 16 17 +6 | 7 8 9 10 11 12 13 14 15 16 17 18 +7 | 8 9 10 11 12 13 14 15 16 17 18 19 +8 | 9 10 11 12 13 14 15 16 17 18 19 20 +9 | 10 11 12 13 14 15 16 17 18 19 20 21 +10 | 11 12 13 14 15 16 17 18 19 20 21 22 +11 | 12 13 14 15 16 17 18 19 20 21 22 23 +12 | 13 14 15 16 17 18 19 20 21 22 23 24 + + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 9 + + The Multiplication Table + + + x | 1 2 3 4 5 6 7 8 9 10 11 12 +---|------------------------------------------------ +1 | 1 2 3 4 5 6 7 8 9 10 11 12 +2 | 2 4 6 8 10 12 14 16 18 20 22 24 +3 | 3 6 9 12 15 18 21 24 27 30 33 36 +4 | 4 8 12 16 20 24 28 32 36 40 44 48 +5 | 5 10 15 20 25 30 35 40 45 50 55 60 +6 | 6 12 18 24 30 36 42 48 54 60 66 72 +7 | 7 14 21 28 35 42 49 56 63 70 77 84 +8 | 8 16 24 32 40 48 56 64 72 80 88 96 +9 | 9 18 27 36 45 54 63 72 81 90 99 108 +10 | 10 20 30 40 50 60 70 80 90 100 110 120 +11 | 11 22 33 44 55 66 77 88 99 110 121 132 +12 | 12 24 36 48 60 72 84 96 108 120 132 144 + + +*************************************************************************** + This program can perform several mathematical operations +*************************************************************************** +1) See if the number is Positive or Negative +2) See if the number is Odd or Even. +3) Find the square root of the number +4) Change the sign of the number +5) Determine how many digits the number has. +6) Find the digit at a specific position in the number +7) Reverse the digits in the number +8) Display The Addition Table +9) Display the Multiplication Table +10) Exit +*************************************************************************** + (Pick an option from 1 to 10): 10 + + + Thank you for using this program. Have a nice day! + + + +C:\Users\Lenovo\source\repos\Project2_Scratch\Debug\Project2_Scratch.exe (process 12324) 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 . . . |