Question: Need further help with example program. Need to create a isValidPhrase() section of my program that determines the phrase the user inputs. Code can accept
Need further help with example program. Need to create a isValidPhrase() section of my program that determines the phrase the user inputs. Code can accept strings of letters that do not form a word, such as "ashdj" or words to form a phrase, however, any form of punctuation or numerical values are not acceptable except for punctuation at the end of the phrase. Meaning numbers, dates or phrases such as "fds.!,,jkas" are not valid, and must return as invalid and ends the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
