Practice
Flowchart: Pass or Fail
EASYFlowcharts
Answer with a flowchart — draw it with the Cambridge symbols. Checking turns it into pseudocode and runs the tests below.
Draw a flowchart that inputs a mark and outputs Pass if the mark is 50 or more, otherwise Fail.
Use the flowchart symbols: a parallelogram for INPUT and OUTPUT, and a diamond for the decision. Label the two arrows out of the diamond Yes and No.
Input: one integer mark.
Output: Pass or Fail.
Sample Test Cases
Test 1: Well above
Inputs: 72
Expected: Pass
Test 2: Below
Inputs: 31
Expected: Fail