flow charts and algorithms,algorithm and flowchart in c programming,algorithm and flowchart pdf, pseudocode and flowchart examples,flowchart vs algorithm,c programming flow chart,pseudo code flowchart symbols,flowchart programming examples,
c understand algorithms and flow chart with examples
Algorithms and Flowchart
Algorithms
- A sequential solution or step by step instruction of any program that written in human language like English ,called algorithm.
- Algorithm is first step of the solution process, after the analysis of problem, programmer write the algorithm of that problem.
- Example of Algorithms:
Q. Write a algorithm to find out number is odd or even?
Ans.
step 1 : start
step 2 : input number
step 3 : rem=number mod 2
step 4 : if rem=0 then
print "number even"
else
print "number odd"
endif
step 5 : stop
Flowchart
1. Graphical representation of any program is called flowchart.
2. There are some standard graphics that are used in flowchart as following:
. Make a flowchart to input temperature, if temperature is less than 32 then
print "below freezing" otherwise print "above
freezing"?
Ans.
Ans.