
PUMPA - SMART LEARNING
எங்கள் ஆசிரியர்களுடன் 1-ஆன்-1 ஆலோசனை நேரத்தைப் பெறுங்கள். டாப்பர் ஆவதற்கு நாங்கள் பயிற்சி அளிப்போம்
Book Free DemoA conditional flowchart is used when a condition is imposed on a problem. The condition will either be true or false. The course of the problem depends on the answer to the condition.
Example:
1. A condition to check whether the train arrives on time or not.
2. A condition to check whether \(5\) is a prime number or not.
Let us try to make a conditional flowchart for the following situation.
Situation:
Check if the given number is a multiple of \(3\) or not.
We should begin with the step-by-step procedure first.
1. Input the number '\(n\)'.
2. Divide '\(n\)' be \(3\).
3. If reminder equals \(0\), print '\(n\)' is a multiple of \(3\)'.
4. If reminder does not equal to \(0\), print '\(n\)' is not a multiple of \(3\)'.
Let us now come up with a conditional flowchart for the problem: