Page 1 of 1

In C++

Posted: Tue Jul 12, 2022 8:17 am
by answerhappygod
In C++
In C 1
In C 1 (29.97 KiB) Viewed 20 times
Write a program that compares two strings given as input. Output the number of characters that match in each string position. The output should use the correct verb (match vs matches) according to the character count. Ex: If the input is: crash crush the output is: 4 characters match Ex: If the input is: cat catnip the output is: 3 characters match Ex: If the input is: mall saw the output is: 1 character matches