0% found this document useful (0 votes)
67 views6 pages

Flowcharts for Conditional Statements

The document contains 4 flowcharts that demonstrate conditional statements in programming. The first flowchart shows a basic if/then statement that prints if a number is greater than 100. The second adds an else statement. The third shows an if/then/else if statement that prints grades based on marks ranges. The fourth uses a select/case statement to print numbers 1-3 or "Invalid Range" based on a number input.

Uploaded by

AllianceB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views6 pages

Flowcharts for Conditional Statements

The document contains 4 flowcharts that demonstrate conditional statements in programming. The first flowchart shows a basic if/then statement that prints if a number is greater than 100. The second adds an else statement. The third shows an if/then/else if statement that prints grades based on marks ranges. The fourth uses a select/case statement to print numbers 1-3 or "Invalid Range" based on a number input.

Uploaded by

AllianceB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

FLOWCHARTS OF CONDITIONAL

STATEMENTS

Sasha Abraham
VI C
Ryna International, Yelahanka
START

If.. Then
LET NUMBER = 0

INPUT NUMBER

IS
NUMBE Y PRINIT NUMBER
R> IS> 100
100

STOP
START If..
LET NUMBER = 0
Then..
Else
INPUT NUMBER

IS
Y PRINIT NUMBER
NUMBE
R> IS> 100
100
N
PRINIT NUMBER
IS < 100

STOP
START If..
LET MARKS = 0 Then..
INPUT MARKS
Elseif

IS IS IS
MARKS N MARK N MARK N
> S> S>
85 60 50
Y Y Y
PRINT PRINT PRINT PRINT
GRADE IS A GRADE IS B GRADE IS C GRADE IS D

STOP
START Select..
LET NUMBER = 0 Case
Check if number is between one and three
INPUT NUMBER

IS IS IS
NUMB N NUMB N NUMB N
ER = ER = ER =
1 2 3
Y Y Y
PRINT PRINT PRINT PRINT
“ONE” “TWO” “THREE” “Invalid
Range”

STOP
Thank You

You might also like