FLOWCHARTS vs PSEUDOCODE
A Flowchart is a diagrammatic representation of an algorithm. It is usually used to represent the ‘Body’ portion of an algorithm
* Pseudocode is more concise, closely resembles programming language
* Flowcharts gives a good view of the structure and flow of the logic in an program
* Longer, more complex solutions are better represented using pseudocode
* Flowcharts must use special geometrical objects that designate the basic steps of a program:
PSEUDOCODE & FLOWCHART
Start
Print ‘Enter three numbers’
Input num1, num2, num3
Set Sum to num1+num2+num3
Set Average to Sum/3
Print ‘The sum is: ‘,Sum
Print ‘The average is: ‘, Average
Stop
Comments (0)
You don't have permission to comment on this page.