Question: 1. (50 points) Write a complete C program that asks the user to enter the correct username and password and checks whether the user's inputs

 1. (50 points) Write a complete C program that asks the

1. (50 points) Write a complete C program that asks the user to enter the correct username and password and checks whether the user's inputs are correct. Let the correct credentials be as follows: Username: sel85@iastate.edu Password: ds4rd . Program Requirements: If both the user-entered username and password are correct, print Success! If either the user entered username and password are incorrect in the first attempt, your program must allow the users two more attempts to reenter the username and password. But if the user entered username and password are incorrect after the third attempt, your program will print the following message to warn the user and exit from the code: !!! Error !!!! Invalid user entry! Please contact the customer support

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!