Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 8

Welcome Back

To Programming
With C++

Topics Covered
-Flowchart
-Examples
We are done with
• Flowchart for negative output – e.g. 1
to 0.
• Flowchart for Sum of the numbers.
• Flowchart for solving equation.
• Flowchart for sum of the first N
numbers.

• Problems for Practice


– Flowchart to find out Prime numbers
Something more to do…
• Multiple Output in Series
• Loop Concept – If else, loop unless
etc.
• Storing complex data
• Concept of Arrays
Exercise
• College Admission System
– Subjects
– Marks
– Sections (Divisions)
– Timings (Morning and Afternoon)
Algorithm
• Finite sequence of instructions.
• An explicit, step-by-step procedure
for solving a problem.
• Often used for calculation and data
processing.
Writing Algorithm
• A step before direct coding.
• Can be considered as textual
representation of flowchart.
• Describe every step clearly and
precisely.
• Need to keep the logical flow.
Can we write some
algorithms
• Algorithm for negative output – e.g. 1
to 0.
• Algorithm for Sum of the numbers.
• Algorithm for solving equation.
• Algorithm for sum of the first N
numbers.

You might also like