Complete the function FindChars() that takes one string parameter and one character parameter. The function returns the number of characters in the string that are not equal to the character parameter.
Ex: If the input is gwbv t, then the output is:
4
-----------------------------------------------------------------------------------------------------------------------------
#include
using namespace std;
int FindChars(string inputString, char x) {
/* Your code goes here */
}
int main() {
string inputString;
char x;
int result;
cin >> inputString;
cin >> x;
result = FindChars(inputString, x);
cout << result << endl;
return 0;
}