Ict L05
Ict L05
Communication Technology
Lecture# 05
Introduction To Software
Design & Algorithms
Software
➢ GRADES(M1,M2,M3,M4, Average)
➢ This algorithm reads four marks denoted
by M1,M2,M3,M4 and calculate the average
grade. All variables are assumed to be real.
➢ (1) start
➢ (2) [Declaration] int M1,M2,M3, AVG
➢ (3) [input individual marks] Read(M1,M2,M3)
➢ (4) [Average Calculation] AVG=(M1+M2+M3)/3
➢ (5) [Output Result] Write(“The average =”, AVG)
➢ (6) [Finish] Exit
Flow Charts
➢ Graphical representation of an algorithm or a portion of
algorithm
➢ Drawn using certain special-purpose symbols connected by
arrows called flow lines
➢ Special Purpose Symbol
➢ Following are some symbols to draw a flow chart and there
purpose