Program Design
Standard stuff will be assumed for now on.
- Declare variables
- Prompt user for the first string
- Get a valid response from the user and save it in a variable
- Prompt user for the second string
- Get a valid response from the user and save it in a second variable
- Find out how many are in common and output it.
NOTE:
Most of the work is done in the methods. I recommend you write the methods in the order outlined in lab discussion and get them to work before you write the main method. This design is for the main method.