[Solved] Given two strings of length, test if the two strings are identical [closed]


  1. Enter the first string in the variable n.
  2. Enter the second string in the variable m.
  3. Compare the two string lengths :
    *if they’re different , return false.
  4. Scan the two vector , character per character :
    *if there’s one difference, return false.
  5. Return success.

solved Given two strings of length, test if the two strings are identical [closed]