C language
flowcharts
PANCHAL KARTIK J
STUDENT OF COMPUTER ENGINEERING
❖ Topic
 Flowcharts
 Examples
 Exercises
❖ Flowcharts
used to start and stop
Or end flow chart
Used for input and
Output operation
Used to represent any
Assignment or expression
❖ Cout….
Condition
Used for any decision
making statements
Indicates flow of sequence
Or control
❖ Cout…
Connecting flow lines from
Different places
Used for iteration or
looping statements
❖ Simple flowchart
Draw a flowchart to find sum two number
Start
Read a,b
C = a + b
print “total = “ c
stop
Read to
number
start a program
two number sum
print to the
two number
sum
End of the program
Draw a flowchart to find max number from two number
start
Read a,b
a > b
Print “max”
b
Print “min “
b
stop
❖ Exercises
1. Draw a flow chart to find whether give number is ood or even
2. Draw a flow chart to reverse give number e.g. 123 – 321
3. Draw a flow chart to find factorial of given number 1*2*3*…….*n
4. Draw a flow chart to find root of eq 𝑎
𝑥 2
+ 𝑏𝑥 + 𝑐
C language flowcharat

C language flowcharat

  • 1.
    C language flowcharts PANCHAL KARTIKJ STUDENT OF COMPUTER ENGINEERING
  • 2.
    ❖ Topic  Flowcharts Examples  Exercises
  • 3.
    ❖ Flowcharts used tostart and stop Or end flow chart Used for input and Output operation Used to represent any Assignment or expression
  • 4.
    ❖ Cout…. Condition Used forany decision making statements Indicates flow of sequence Or control
  • 5.
    ❖ Cout… Connecting flowlines from Different places Used for iteration or looping statements
  • 6.
    ❖ Simple flowchart Drawa flowchart to find sum two number Start Read a,b C = a + b print “total = “ c stop Read to number start a program two number sum print to the two number sum End of the program
  • 7.
    Draw a flowchartto find max number from two number start Read a,b a > b Print “max” b Print “min “ b stop
  • 8.
    ❖ Exercises 1. Drawa flow chart to find whether give number is ood or even 2. Draw a flow chart to reverse give number e.g. 123 – 321 3. Draw a flow chart to find factorial of given number 1*2*3*…….*n 4. Draw a flow chart to find root of eq 𝑎 𝑥 2 + 𝑏𝑥 + 𝑐