Language: It is suggested that passwords mix letters and digits such that passwords are not that easy to guess. A good password must have at least a minimum length of 8 characters and needs to contain at least three digits. Please write a function as a password checker which get an array of characters as parameter and determines whether the password is good or not by returning true or false, respectively.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 44SA
icon
Related questions
Question
Language: C
It is suggested that passwords mix letters and digits such that passwords are not that easy to
guess. A good password must have at least a minimum length of 8 characters and needs to
contain at least three digits.
Please write a function as a password checker which get an array of characters as parameter and
determines whether the password is good or not by returning true or false, respectively.
Transcribed Image Text:Language: C It is suggested that passwords mix letters and digits such that passwords are not that easy to guess. A good password must have at least a minimum length of 8 characters and needs to contain at least three digits. Please write a function as a password checker which get an array of characters as parameter and determines whether the password is good or not by returning true or false, respectively.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning