aboutsummaryrefslogtreecommitdiff
path: root/RUNS.txt
diff options
context:
space:
mode:
Diffstat (limited to 'RUNS.txt')
-rw-r--r--RUNS.txt143
1 files changed, 143 insertions, 0 deletions
diff --git a/RUNS.txt b/RUNS.txt
index 07afccb..780d6cc 100644
--- a/RUNS.txt
+++ b/RUNS.txt
@@ -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 . . .