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 integers. Your application should have two arrays: intMinimum and intMaximum. The intMinimum array should hold the minimum value for each digit position and the intMaximum array should hold the maximum value for each digit position. The application should allow the user to enter seven digits on a form similar to the one shown in Figure 8- 48. When the Verify button is clicked, the application should use the intMinimum and intMaximum arrays to verify that the numbers fall into acceptable ranges.
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 integers. Your application should have two arrays: intMinimum and intMaximum. The intMinimum array should hold the minimum value for each digit position and the intMaximum array should hold the maximum value for each digit position. The application should allow the user to enter seven digits on a form similar to the one shown in Figure 8- 48. When the Verify button is clicked, the application should use the intMinimum and intMaximum arrays to verify that the numbers fall into acceptable ranges.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
How would I create this in Visual Basic?
Expert Solution
Step 1
Given
You have been hired as a pin verfier we have to provide a code by which bank can be provided that the pin is valid or not.
Also we have given some set of number by seeeign them we have to verify that the code ia valid.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education