Header Ads Widget

riti-advertiesment

How to write theory question in o-level c-language

 How to write theory question in o-level c-language

Question 5 (A). What is flow chart ? List the symbols that are used to draw a flow chart. Develop a flowchart to find out the minimum of the given three numbers.

 

Question 5 (A)

 

Answer 5 (A): Flowchart

flowchart is a picture of the separate steps of a process in sequential order. It is a generic tool that can be adapted for a wide variety of purposes, and can be used to describe various processes, such as a manufacturing process, an administrative or service process, or a project plan.

Flow Chart Symbol




Example : Develop a flowchart to find out the minimum of the given three numbers.



Algorithm to Find the Smallest of three Numbers

1. Declare three variables a, b, c.

2. Compare a with b and c. If a is smaller than b and c than a is smallest among three numbers.

3. Compare b with a and c. if b is smaller than a and c than b is smallest among three numbers.

4. Else c is smallest among three numbers.

 

Web Designing Course