Question: Hey guys I need help in making a simple pseudo code and flowchart for a code that I made. NOTE: I ONLY NEED THE PSEUDO

Hey guys I need help in making a simple pseudo code and flowchart for a code that I made.

NOTE: I ONLY NEED THE PSEUDO CODE AND FLOW CHART. PLEASE SEND COMPUTERIZED FORM.

The activity is Passcode

Program that will ask the correct passcode before the user can continue his task. The user is given only three trials to enter the correct passcode. When the user hit the correct passcode the program will display ACCESS GRANTED, otherwise it will display ACCESS DENIED after three attempts.

Here's the code I created

Source Code:

c code:

 #include  #include  int main() { int i; int password; int code=1234; printf("Enter correct pass code:"); scanf("%d",&password); if(password==code) { printf("ACCESS GRANTED"); } else { for(i=0;i<2;i++) { printf("Enter correct passcode:"); scanf("%d",&password); if(password==code) { printf("ACCESS GRANTED"); } else { for(i=0;i<1;i++) { printf("Enter correct passcode:"); scanf("%d",&password); if(password==code) { printf("ACCESS GRANTED"); } else { printf("ACCESS DENIED"); } } } } } return 0; }

NOTE: I ONLY NEED THE PSEUDO CODE AND FLOW CHART. PLEASE SEND COMPUTERIZED FORM.

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!