Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Purpose: To demo the knowledge and use of programming concepts (using C language), variables, assignments, loops and conditional statements. To think and select the proper
Purpose: To demo the knowledge and use of programming concepts (using C language), variables, assignments, loops and conditional statements. To think and select the proper loop to accomplish different tasks. Throughout the program, pay attention to variable definitions, data types, initializations, and all other good programming practices. Instructions: You are writing a program for a bank. As part of their authentication they ask their clients for the last four of their card number. Users type in four digits. However, they might enter characters and/or symbols as part of their input. Work on part of the program that asks the user for the last four of their card number. Your program should then check to see if the user entered all digits or does it have any characters and/or symbols (non digits). - If the user input is all digits and is 1255 , display "Authenticated Successfully!". - If the user input contains values other than digits, display "Invalid Input! Do You Want to Try Again?. If yes, repeat all previous steps. If not, display "Authentication Unsuccessful!" and end the program. - If the user input is all digits but a value other than 1255, display "The Four Digits Do Not Match! Do You Want to Try Again?". If yes, repeat all previous steps. If not, display "Authentication Failed!" and end the program. *Note: user input could be declared using a numeric or text data type (int or char). What to Submit? - A document written in word and converted into PDF containing the code to produce the expected output and - Three different screenshots of the output and - How would you improve your project if given the opportunity? (approximately 3-4 paragraphs , 4-5 lines each)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started