diff options
| author | Joseph Ten Eyck <[email protected]> | 2021-11-11 00:34:03 -0800 |
|---|---|---|
| committer | Joseph Ten Eyck <[email protected]> | 2021-11-11 00:34:03 -0800 |
| commit | ea266a4b6b0a07ff4e0842a9653b1634ac95f8ab (patch) | |
| tree | 44b9d43b836373e6a4cafa7de191aa44a5515d8a /RUNS.txt | |
| parent | Last problem is giving me trouble. I am pushing what I have before midnight s... (diff) | |
| download | cst116-lab6-josephteneyck-master.tar.xz cst116-lab6-josephteneyck-master.zip | |
Diffstat (limited to 'RUNS.txt')
| -rw-r--r-- | RUNS.txt | 143 |
1 files changed, 143 insertions, 0 deletions
@@ -253,3 +253,146 @@ Press any key to close this window . . . + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 2 + + --------------------------------------------------- + Enter a string (up to 30 characters, no spaces) + --------------------------------------------------- + Enter string: hello + + All characters are alphabetic! + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 2 + + --------------------------------------------------- + Enter a string (up to 30 characters, no spaces) + --------------------------------------------------- + Enter string: again? + + Not all characters are alphabetic. + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: + + + + + + + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 3 + + --------------------------------------------------------- + Enter a string (up to 40 characters, spaces are okay) + --------------------------------------------------------- + Enter string: hello kile! + + ----------------------------------------------- + Enter a character to count the frequency of + ----------------------------------------------- + Character: l + + ~ The frequency of the character 'l' is 3. ~ + + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 3 + + --------------------------------------------------------- + Enter a string (up to 40 characters, spaces are okay) + --------------------------------------------------------- + Enter string: dad dude + + ----------------------------------------------- + Enter a character to count the frequency of + ----------------------------------------------- + Character: d + + ~ The frequency of the character 'd' is 4. ~ + + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 3 + + --------------------------------------------------------- + Enter a string (up to 40 characters, spaces are okay) + --------------------------------------------------------- + Enter string: hello planet! + + ----------------------------------------------- + Enter a character to count the frequency of + ----------------------------------------------- + Character: x + + ~ The frequency of the character 'x' is 0. ~ + + + ============================== + What would you like to do? + ============================== + + 1) Test if a string is a palindrome + 2) Test if a string is all alphabetic characters + 3) Count the number of times a specific character appears in a string + 4) Exit + + Menu choice #: 4 + + ~ Goodbye! ~ + + +C:\Users\eclip\Source\Repos\cst116-lab6-JosephTenEyck\Debug\CST116F2021-Lab6.exe (process 10696) 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 . . . |