The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
PINVerifier c#
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 7-9, inclusive
Digit 2: Must be in the range 5-7, inclusive
Digit 3: Must be in the range 0-4, inclusive
Digit 4: Must be in the range 0-9, inclusive
Digit 5: Must be in the range 6-9, inclusive
Digit 6: Must be in the range 3-6, inclusive
Digit 7: Must be in the range 4-8, inclusive
Notice that each digit must fall into a range of numbers. Your application shall have two arrays: intMin and intMax. The intMin array shall hold the minimum values for each digit, and the intMax array shall hold the maximum values for each digit.
The application shall allow the user to enter seven digits on the form. When the Verify button is clicked, the application shall use the intMin and intMax arrays to verify that the numbers fall into acceptable ranges.
The application form should resemble the one below.