Skip to content

Commit

Permalink
Add has_mixed_case to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kbuffardi committed Apr 14, 2024
1 parent acf6fb2 commit 644db84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Password.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ class Password
'z' and any ASCII characters are allowed.
*/
int count_leading_characters(string word);

/*
receives a string and returns whether it has both at least one upper-case
letter and at least one lower-case letter
*/
bool has_mixed_case(string);
};
#endif

0 comments on commit 644db84

Please sign in to comment.