From 644db8416ad4621479f513b8a91653ad476eab1f Mon Sep 17 00:00:00 2001 From: Kevin Buffardi Date: Sat, 13 Apr 2024 23:53:16 -0700 Subject: [PATCH] Add has_mixed_case to interface --- Password.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Password.h b/Password.h index 5fa6591..dfa6471 100644 --- a/Password.h +++ b/Password.h @@ -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