Problem

PIN VerifierThe National Commerce Bank has hired you to create an application that verifie...

PIN Verifier

The National Commerce Bank has hired you to create an application that verifies a customer personal identification number (PIN). A valid PIN is a seven-digit number that meets the following specifications:

Digit 1: Must be in the range of 7 through 9

Digit 2: Must be in the range of 5 through 7

Digit 3: Must be in the range of 0 through 4 Digit 4: Must be in the range of 0 through 9 Digit 5: Must be in the range of 6 through 9 Digit 6: Must be in the range of 3 through 6 Digit 7: Must be in the range of 4 through 8

Notice that each digit must fall into a range of numbers. Your application should have two arrays: intMinimum and intMaximum. The intMinimum array should hold the minimum values for each digit, and the intMaximum array should hold the maximum values for each digit.

The application should allow the user to enter seven digits on a form similar to the one shown in Figure 1. When the Verify button is clicked, the application should use the intMinimum and intMaximum arrays to verify that the numbers fall into acceptable ranges.

Figure 1 PIN Verifier form

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT