Professional Documents
Culture Documents
Ali Anwar BSSE-FA21-1A
Ali Anwar BSSE-FA21-1A
Department of Creative
Technologies
Name : Ali Anwar
Roll no : 211969|BSSE-FA21-1A
COURSE : Programming Fundamentals
Software Engineering
1. Draw Flowchart to find the sum of two numbers
START
TAKE TWO
NUMBERS
a,b
SUM=a+b
DISPLAY SUM
END
1. Draw Flowchart to find the average of two numbers
START
TAKE TWO
NUMBERS
a,b
DISPLAY
AVERAGE
END
2. Draw Flowchart to find AREA of Rectangle.
START
INPUT LENGTH
L AND WIDTH
W
AREA OF
RECTANGLE=L*W
DISPLAY AREA
OF RECTANGLE
END
2. Draw Flowchart to find PERIMETER of Rectangle.
START
INPUT LENGTH
L AND WIDTH
W
PERIMETER OF
RECTANGLE=2(L*W)
DISPLAY
PERIMETER OF
RECTANGLE
END
4. Draw flowchart to convert temperature from Fahrenheit to Celsius.
C : temperature in Celsius
F : temperature Fahrenheit
START
READ CELCIUS=C
READ FAHRENHEIT=F
Input
TEMPERATURE F
C=(9/5)*(F-32)
DISPLAY
TEMPERATURE IN C
END
3. Draw flowchart to Swap Two Numbers
START
READ a,b
DISPLAY a,b
END