Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
18 views14 pages

Flowcharts Exercises

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

Flowcharts Exercises

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

Flowcharts

Exercises
BY
HADI
 Draw a flowchart to calculate the sum of two numbers entered by
the user.
 Create a flowchart to find whether a number is even or odd.
 Make a flowchart to input a number and determine if it is positive or
negative.
 Create a flowchart to convert from Fahrenheit to Celsius depending
on the input(Fahrenheit)?
 Create a flowchart to convert from Fahrenheit to Celsius OR Celsius
to Fahrenheit depending on the Input taken by the user.
 Create a flowchart to convert from USD to IDR? User will input the
rate USD to IDR first, then User will input how many USD that user
wants to convert it?
 Create a flowchart to convert from score in numbers to score in
characters
 90-100(inclusive) → A
 80-90 (inclusive) → B
 70-80 (inclusive) → C
 60-70 (inclusive) → D
 Below 60 → E
 Create a flowchart to determine weekdays or weekends
depending on the day inputted by user?
 Create a flowchart to display 1 to N? N is the input number from the
user.
 For N=5, display will be 1 2 3 4 5
 For N=3, display will be 1 2 3
 Create A flowchart checks whether a number is prime or not
 Create a flowchart to display 1 to N? N is the input from the user
 For N=4 → display will be 1 3 5 7
 For N=6 → display will be 1 3 5 7 9 11
 Create a flowchart to display 1 to N? N is the input from the user
 For N=4 → display will be 2 4 6 8
 For N=6 → display will be 2 4 6 8 10 12
 Create a flowchart to display 1 to N? N is the input from the user
 For N=4 (even) → display will be 2 4 6 8 (four even numbers)
 For N=5 (odd) → display will be 1 3 5 7 9 (five odd numbers)

 For N=3 (odd) → display will be 1 3 5 (three odd numbers)

You might also like