Week1 L2 Flowcharts
Week1 L2 Flowcharts
Semester Number:2
Programming Language
Relational operators
Example
Draw a flowchart that takes a number from the
user and if the entered number is positive start
No Yes
Is num>0
num=num+5 num=num-5
Print num
end
Example
• Draw flowchart to read 2 integer numbers and print the value of
the bigger followed by the smaller.
Example
• Draw a flowchart to read integer number and determine
whether it is odd or even.
Example