Intro Week 5
Intro Week 5
Week 5
Flowcharts
5.1 Introduction
This laboratory session is designed to give you an understanding of the workings of
integrating Algorithms, flowcharts, and C++ programming language.
Here you are going to focus on the following:
Flowchart Notations
Algorithmic operations:
o Sequential Operation
o Conditional operation
o Iterative operation
5.2 Flowchart Notations
Page 1 of 4
Output
C++
C++ Output
Page 2 of 4
5.5 Iterative Operation
Algorithmic Steps Flowchart
Print b
C++ Output
5.6 Exercises
1 Write down an algorithm steps to convert temperature from Celsius to Fahrenheit, Then Draw its flowchart.
2 Write down an algorithm steps to find Area and Perimeter of Square shape, Then Draw its flowchart.
3 Write down an algorithm steps to find the largest number of two numbers, Then Draw its flowchart.
4 Write down an algorithm steps to find the type of number whether it’s one digit or two digit , Then Draw its
flowchart.
5 Write down an algorithm steps to calculate even numbers between 1 and 24, Then Draw its flowchart.
6 Write down an algorithm steps to input test scores for 10 students, then count the number of students who failed
the test. Then Draw its flowchart.
Page 3 of 4
Note:
Don’t Forget to Send Your Assignment to
Microsoft Teams
Email: [email protected]
Email: [email protected]
Page 4 of 4