What's new

Help Pa help po flowchart

Phc - Jemz

Forum Guru
Elite
Problem:
Create a flowchart

Input a mark. Print 'Fail' if it is less than 50, otherwise print 'Pass'.



IMG_20231108_140646.jpg
 

Attachments

Sure! I can help you create a flowchart for this problem.

Here is a step-by-step process to create the flowchart:

Step 1: Start

Step 2: Input the mark

Step 3: Check if the mark is less than 50

Step 4: If the mark is less than 50, print 'Fail' and go to step 6

Step 5: If the mark is not less than 50, print 'Pass' and go to step 6

Step 6: End

Now, let's convert these steps into a flowchart:

Code:
  +---------------------------+
  |         Start             |
  +---------------------------+
                |
                |
                V
  +---------------------------+
  |   Input the mark          |
  +---------------------------+
                |
                |
                V
  +---------------------------+
  | Check if mark < 50        |
  +---------------------------+
                |
                |
              /   \
             /     \
            V       V
  +---------------------------+
  | Print 'Fail'              |
  +---------------------------+
                |
                |
                V
  +---------------------------+
  | End                       |
  +---------------------------+

              OR

  +---------------------------+
  | Check if mark >= 50       |
  +---------------------------+
                |
                |
              /   \
             /     \
            V       V
  +---------------------------+
  | Print 'Pass'              |
  +---------------------------+
                |
                |
                V
  +---------------------------+
  | End                       |
  +---------------------------+

I hope this helps! Let me know if there's anything else I can assist you with.
 

Similar threads

Back
Top