/* Create a function that determines the minimum number of characters needed to make a strong password. * A password is considered strong if it satisfies the following criteria: * Its length is at least 6. * It contains at least one digit. * It contains at least one lowercase English character. * It contains at least one uppercase English character. * It contains at least one special character: !@#$%^&*()-+ * Types of characters in a form you can paste into your solution: */ bool isSpecial(char c){ return c == '!' || c == '@' || c == '#' || c == '$' ||\ c == '%' || c == '^' || c == '&' || c == '*' ||\ c == '(' || c == ')' || c == '-' || c == '+'; } int strongPassword(std::string password) { bool hasDigit = false; bool hasLower = false; bool minLength = password.size()>=6; bool hasUpper = false; bool hasSpecial = false; for(int i=0;i