subject
Engineering, 14.12.2019 05:31 pbargy7830

Using the string class, design and develop a multi-file password validation program and test case document (10% of grade) that requests a password, and validates it based on the following criteria.

the password must be at least 8 characters long, contain at least one number, and at least one upper case letter, and at least one lower case letter.
the user is limited to three (3) attempts and then is locked out and the program ends.
required functions called from main and located in a header file: prompt for and getting input, validating the password, re-entry (confirming), and output. the main loop can be in main.

1. request a password from the user
2. test to see if the password entered is valid (length, upper case, lower case, digit) if the password is not valid
i. output the original password entered
ii. output that it is not a valid password
iii. output each of the reasons why the password is not valid

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Machinery that is a key part of the process and without which the plant or process cannot function is classifed as: (clo4) a)-critical machinery b)-essential machinery c)-general purpose machinery d)-none of the specified options.
Answers: 1
question
Engineering, 04.07.2019 18:20
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
question
Engineering, 04.07.2019 18:20
Water vapor initially at 10 bar and 400 °c is contained within a piston-cylinder assembly. the water lost heat to the surrounding according to isochoric (iso-volumetric) process until its temperature is 150 °c. the water is then condensed isothermally to saturated liquid. for the water as a system, calculate the work in kj/kg
Answers: 2
You know the right answer?
Using the string class, design and develop a multi-file password validation program and test case do...
Questions
question
Arts, 27.01.2021 01:30
question
Mathematics, 27.01.2021 01:30
question
Chemistry, 27.01.2021 01:30
Questions on the website: 13722367