Wednesday, November 19, 2014

Flowcharts

flowcharts

a flowchart is a diagrammatic representation of the processes involved in arriving at a solution to a problem.



                      structured programming

 the structured programming uses three control constructs namely
       1. sequence 
       2. selection
       3. repetition

  1. sequence flowcharts to input two numbers and there after
      calculate and display the average.


  2. selection flowchart to input 2 numbers and there after             evaluate and display the maximum value 

  3. repetition flowchart to calculate and display the first 5 
      natural numbers



No comments:

Post a Comment