Program Design

Standard stuff will be assumed for now on.
  1. Declare variables
  2. Prompt user for the first string
  3. Get a valid response from the user and save it in a variable
  4. Prompt user for the second string
  5. Get a valid response from the user and save it in a second variable
  6. 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.


This topic: CenterForComputing > WebHome > Syllabi > CSC121SylS2023 > CSC121S2023Lab05 > CSS121S2023Lab5H1
Topic revision: r2 - 2023-02-02 - cathybareiss
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback