Manual solution , Algorithm , flowchart & pseudo code
Manual solution , Algorithm , flowchart & pseudo code
Here are some steps you can take to solve a real life problem:
Algorithms:
Properties/ Characteristics
Example:
Step 1: Start
Step 2: Read a,b
Step 3: C=a+b
Step 4: Print or display c
Step 5: Stop
Flowchart and Pseudo Code
Flowchart:
A flowchart is a diagram that illustrates a process, system, or algorithm in a step-by-step
manner. It's a versatile tool that can be used to plan, visualize, document, and improve
processes.
Example:
Start
Read a,b
C=a+b
Write c
Stop
Pseudo Code:
A Pseudocode is a step-by-step description of an algorithm in code-like structure using plain
English text.
Example:
# include<stdio.h>
Int main()
{
Int a, b, c;
Printf(“enter value of a:”);
Scanf(“%d”,&a);
Return 0;
}