Question: i want program code for this above question it should directly run code on linux operating system like ubantu, mint In this assignment you are





i want program code for this above question it should directly run code on linux operating system like ubantu, mint
In this assignment you are asked to create a tool that checks some basic information about a debit or credit card. As you know, credit card fraud is epidemic and many people are trying their best to steal your money. The tool you will be creating is a first step in fighting back. Part 1: (General Information) Your tool should be interactive, meaning it has to ask the user to enter their credit/debit id number. 1- The tool accepts only digits. 2- Any other type of data should be rejected and the tool asks the user to enter the correct information again a. The user can try maximum of 3 times b. After that, the tool will display a message that a user should try after 30 seconds i. The tool will start counting for every second; such as: 30,29,28,27,......1 c. Then, users will be given the chance again to enter the card number. 3- The process repeats Part 2: (Handling Card Information) After entering the well-formatted card id, the tool should start checking some information about the card. Please see below: 1 Number of digits in the card, see the following a. Max number of digits should be 16, and min should be 13 b. 14, 15, 16 digits Diners Club c. 15 digits merican Express d. 13, 16 digits Visa e. 16 digits-MasterCard f. 16 digits Discover 2- Major Industry Identifier (M based on the following, if the first digit of the id is a. 1 and 2, then industry is Airlines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
