A flowchart needs to represent the a situation where for each mark a student is award 'Pass' or 'Fail'...the system will consider the mark and if it's 50 or over award 'Pass', else it awards 'Fail'. This is an example of which of the algorithm constructs?
Answers
Answered by
4
Answer:
it is of the if-else if-else algorithm contruct
Answered by
0
Concept:
A flowchart is a visual representation of the separate steps of a process in sequential order.
Given:
If then , else .
Find:
Draw the flowchart.
Solution:
Step 1: Start
Step 2: Declare a variable 'mark' to store the marks of the student.
Step 3: Check if
Step 4: then print
Step 5: else
Step 6: print .
Step 7: Stop
The flowchart is given below-
Attachments:
Similar questions