Flowcharts
Flowcharts
Start
Clear WA
Input A, B
Sum = A + B
Print Sum
Stop
2.
Start
Clear WA
Input A, B, C
Sum = A + B + C
Print Sum
Stop
Start
Clear WA
Input P, T, R
SI = (P * T * R)/100
Print SI
Stop
Start
Clear WA
Sum = 0, Count = 0
Input n
Count = Count +1
Sum = Sum + n
If
Count > 50
Print Y Sum
Stop
5.
Start
Clear WA
Sum = 0, Count = 0
Input n
Count = Count +1
Sum = Sum + n
If
Count > 4000
Print Sum
Stop
Clear WA
Input N
Sum = 0, Count = 0
Input n
Count = Count +1
Sum = Sum + n
If Count > N
Print Sum
Stop
7.
Start
Clear WA
Input n
Sum = n( n+1)/2
Print Sum
Stop
8. Draw a flowchart to find out the first 5 Natural Numbers? ( without using the above formula)
Start
Sum = 0, Count = 1
Count = Count + 1
If Count > 5
Print Sum
Stop
9.
Draw a flowchart to find out the sum of first 500 Natural Numbers?
Start
Sum = 0, Count = 1
Count = Count + 1
Print Sum
Stop
10. Draw
a flowchart to find out the sum of first N Natural Numbers? ( without using the formula)
Start
Clear WA
Input N
Sum = 0, Count = 1
Count = Count + 1
If Count >N
Print Sum
Stop
11. Draw
Start
Clear WA
Prod = 1, Count = 1
Count = Count + 1
If Count > 5
Print Prod
Stop
12.
Clear WA
Input N
Prod = 1, Count = 1
Count = Count + 1
If Count >N
Print Prod
Stop
13. Draw
Start
Clear WA
Input A, B, C
Avg = (A + B + C)/3
Print Avg
Stop
14. Draw a flowchart to find out the whether a number is Even or Odd?
Start
Input n
Print n is Odd
Is n is divisible by 2
Print n is Even
Stop
Start
Input A, B
If A= B
Print A is Greater
16. Draw
17. Draw
Start
C = 0, Max =0 Input n
C=C+1
If Max> n Max = n
C=C+1
If Max> n Max = n
If C=N
19.
Count = 1
Print Count
Count = Count + 1
If Count > 50
Stop
20. Draw
Start
Count = 1
Print Count
Count = Count + 1
If Count > N
Stop
21. Draw
Start
Count = 2
Print Count
Count = Count + 2
If Count > 50
Stop
22. Draw
Start
Count = 2
Print Count
Count = Count + 2
If Count > N
Stop
23. Draw
i = 2, Count = 0
Print i
Count = Count + 1
i=i+2
If Count > 50
Stop
24. Draw
Start
Count = 1
Print Count
Count = Count + 2
If Count > 50
Stop
25. Draw
Start
Count = 1
Print Count
Count = Count + 2
If Count > N
Stop
26. Draw
Start
i = 1, Count = 0
Print i
Count = Count + 1
i=i+2
If Count > 50
Stop