0
You are finding whether the digits and special characters are in the input or not.
But you need to find how many special characters and digits are their in input.
See everytime you get con return value either 0 or 1 and you will retain the final value only. So If you have a last digit as number or special character, then it will print strong otherwise weak



