Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are Electrophoresis?

Answered: 1 week ago

Question

3. What changes should I be making?

Answered: 1 week ago

Question

2. Why?

Answered: 1 week ago