SlideShare a Scribd company logo
☺ (Sequence)
☺ / /
(Selection/Decision/Conditio
n)
☺ (Iteration / Loop)
(1/3)
(2/3)
START
STOP
A = 5
B = 3
C = A + B
print C
A 5
B 3
A B
C
(3/3)
A, B
A B
C
START
STOP
C = A + B
print C
A , B
1.
2.
--> < >
--> <
>
-----------------------------------------------------
: < >
: < >
3.
–
–
4.
– Last_meter
– Curr_meter
– Num_meter
– Electric_fee
5.
1.
2. last_meter
curr_meter
3. num_meter = curr_meter
– last_meter
4. electric_fee =
num_meter * 2.5
5. num_meter , electric_fee
Flow chart
START
STOP
Num_meter = Curr_meter – Last_meter
Last_meter ,
Curr_meter
Electric_fee = Num_meter * 2.5
Num_meter , Electric_fee
• (IF - THEN)
(1/5)
(2/5)START
STOP
read age
age > 60
“You are old”
true
false
age
age
(3/5)
GoodLuck
Welcome Manager
Exit
Password System
ans
ans = “GoodLuck”
Welcome
Manager
Exit Password
System
(4/5)
%

1.
2.
- =
( 10/100)
3. =
(5/5)
START
STOP
read
name ,salary
salary < 5000 Name , salary ,
bonus
true
false
salary = salary + (salary*10/100)
A
A
bonus = salary * 3
IF –
THEN
IF THEN
BEGIN
;
;
END;
IF THEN
ELSE
BEGIN
;
;
END;
(1/6)
(2/6)
• sex =1
Male
• sex =1
Female
Sex = 1
Male = Male +1Female = Female + 1
TrueFalse
(3/6)
START
STOP
read age
age > 60
“You are old”
truefalse
“You are young”
age
Yo
Yo
age
(4/6)
ans
ans = ‘y’ OR ans=‘Y’
Thank YouI’m sorry to hear that
Do you like Pascal
Good Bye
Do you like P
ans
ans
-
Thank you
-
I’m sorry to hear
Goodbye
(5/6)
%
5000 5%
•
1.
2. < 5000
- = 10/100
- = 5/100
3. = + ( *
)
4. =
(6/6)
START
STOP
read
name ,salary
salary < 5000
Name , salary ,
bonus
truefalse
rate = 10 / 100
A
A
bonus = salary * 3
rate = 5 / 100
salary = salary+(salary * rate)
(
IF)
TrueFalse
TrueFalse
TrueFalse
(
IF)
Score >=80
Grade = ‘A’
truefalse
Score >=70
Grade = ‘B’
truefalse
Score >=60
Grade = ‘C’
truefalse
Score >=50
Grade = ‘D’
truefalse
Grade = ‘F’
Score = mid + final
(
CASE)
(
CASE)
score
Grade = ‘B’Grade = ‘A’ Grade = ‘D’Grade = ‘C’
80..100 70..79 60..69 50..59
Grade = ‘F’
0..49
Score = mid + final
•
(Controlled Loop)
• (Pre-
Test Condition)
• (Post-
Test Condition)
Next
N 1 1
5
Next
N
For N =1 , 5
Next
Print N
True
False
•
N <= 5
– N
– N 1
(N=N+1)
•
N <=5
N = N+1
True
False
Print N
N = 1
True
False
–
N
–
N 1
•
N > 5
N > 5
True
False
N = N+1
Print N
N = 1

More Related Content

PDF
Simplified instruction computer (sic) sic/xe instruction set table
PPTX
Defuzzification
PDF
PPTX
Simplified instruction computer (sic) sic/xe instruction set table
Defuzzification

Viewers also liked (18)

PPTX
Jeunes en ligne
PPT
Jeunes_en_ligne
PPT
Warm Up 08-18
PDF
Innovation Strategy
DOC
Sc autoriza concentración financiera
PDF
Bolivianskt teaterbesök i Bjärtrå
DOC
P.Equivalencia Y Final
PDF
PDF
Wfwef 45734
DOC
PráCtica 1
PDF
Enr 09 08 03
PDF
Question(s) of the week
PDF
I-10 and 410 Office Flyer
PPTX
Communicating Beyond the Pulpit: A Look at Social Media in Church Settings
PDF
Aula22 Wagner1 Ano
PPT
How to schedule an appointment
PPT
AsignacióN 3. Autoconocimiento Y Crecimiento Personal
PDF
Starka Händelser i progressiv teater
Jeunes en ligne
Jeunes_en_ligne
Warm Up 08-18
Innovation Strategy
Sc autoriza concentración financiera
Bolivianskt teaterbesök i Bjärtrå
P.Equivalencia Y Final
Wfwef 45734
PráCtica 1
Enr 09 08 03
Question(s) of the week
I-10 and 410 Office Flyer
Communicating Beyond the Pulpit: A Look at Social Media in Church Settings
Aula22 Wagner1 Ano
How to schedule an appointment
AsignacióN 3. Autoconocimiento Y Crecimiento Personal
Starka Händelser i progressiv teater
Ad

Similar to Flowchart6 (20)

PPTX
ICT_Seminar_flow_charts_for_2013_Nov.pptx
PPTX
Introduction to flowchart
PPTX
Psuedocode1, algorithm1, Flowchart1.pptx
PPT
Programming algorithms and flowchart.ppt
PDF
Introductiontoflowchart 110630082600-phpapp01
PPTX
Mid-Term Problem Solving Part.pptx
PDF
2021 CSE031.Lecture 6.Flow_Charts_Pseudocode.pptx.pdf
PPT
Pseudocode algorithim flowchart
PPTX
programming part 1 introduction to python.pptx
PPT
Algorithms and Flowchart.ppt
PPT
Algorithmsandflowcharts1
PPT
Algorithmsandflowcharts1
PPTX
Introduction to basic programming repetition
PDF
POLITEKNIK MALAYSIA
PPTX
Flowcharts
PPTX
Flowcharts
PPTX
Flowcharting
PPTX
Algorithms and Flowcharts
ICT_Seminar_flow_charts_for_2013_Nov.pptx
Introduction to flowchart
Psuedocode1, algorithm1, Flowchart1.pptx
Programming algorithms and flowchart.ppt
Introductiontoflowchart 110630082600-phpapp01
Mid-Term Problem Solving Part.pptx
2021 CSE031.Lecture 6.Flow_Charts_Pseudocode.pptx.pdf
Pseudocode algorithim flowchart
programming part 1 introduction to python.pptx
Algorithms and Flowchart.ppt
Algorithmsandflowcharts1
Algorithmsandflowcharts1
Introduction to basic programming repetition
POLITEKNIK MALAYSIA
Flowcharts
Flowcharts
Flowcharting
Algorithms and Flowcharts
Ad

More from ชญานิษฐ์ ทบวัน (20)

PDF
Pre o-net job3 ชุด สอง
PDF
สำเนาของ รายชื่อทำงานกับครู2
PDF
ใบงานที่ 1
PPTX
ตัวอย่างทำหัวข้อ Powerpoint
PPTX
วิธีการทำ Power point
PDF
วิธีการใช้โปรแกรม Microsoft word 5
PDF
วิธีการใช้โปรแกรม Microsoft word 5
PDF
วิธีการใช้โปรแกรม Microsoft word 4
PDF
โปรแกรม Microsoft word 3
PDF
วิธีการใช้โปรแกรม Microsoft word 2
PDF
ปก สารบัญ คำนำ
Pre o-net job3 ชุด สอง
สำเนาของ รายชื่อทำงานกับครู2
ใบงานที่ 1
ตัวอย่างทำหัวข้อ Powerpoint
วิธีการทำ Power point
วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 4
โปรแกรม Microsoft word 3
วิธีการใช้โปรแกรม Microsoft word 2
ปก สารบัญ คำนำ

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
TLE Review Electricity (Electricity).pptx
PDF
project resource management chapter-09.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Mushroom cultivation and it's methods.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
August Patch Tuesday
PDF
Heart disease approach using modified random forest and particle swarm optimi...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Getting Started with Data Integration: FME Form 101
DP Operators-handbook-extract for the Mautical Institute
TLE Review Electricity (Electricity).pptx
project resource management chapter-09.pdf
Enhancing emotion recognition model for a student engagement use case through...
Chapter 5: Probability Theory and Statistics
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Mushroom cultivation and it's methods.pdf
Programs and apps: productivity, graphics, security and other tools
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
A Presentation on Touch Screen Technology
A comparative analysis of optical character recognition models for extracting...
WOOl fibre morphology and structure.pdf for textiles
August Patch Tuesday
Heart disease approach using modified random forest and particle swarm optimi...

Flowchart6