0% found this document useful (0 votes)
366 views5 pages

Flowchart Examples

The document provides examples of flowcharts to create: 1) A flowchart that displays the user's age five years in the future by initializing a variable to the current age. 2) A flowchart that increases a number by 5 if it is greater than 10, otherwise does nothing. 3) A flowchart that displays a user's name, address, birthday, age, sex, and phone number in a specified format. 4) A flowchart that computes the average score of a student based on three quiz scores entered by the user, which can range from 0-100 and the average may have decimal places.

Uploaded by

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

Flowchart Examples

The document provides examples of flowcharts to create: 1) A flowchart that displays the user's age five years in the future by initializing a variable to the current age. 2) A flowchart that increases a number by 5 if it is greater than 10, otherwise does nothing. 3) A flowchart that displays a user's name, address, birthday, age, sex, and phone number in a specified format. 4) A flowchart that computes the average score of a student based on three quiz scores entered by the user, which can range from 0-100 and the average may have decimal places.

Uploaded by

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

Flowchart: Example 1

Create a flowchart that displays your age five


years from now. The algorithm should have a
variable that is initialized to your current age.

Flowchart: Example 2

Create a flowchart that will increase the value


of
the number by 5 if it is greater than 10 and
display
the result; otherwise do nothing.

Flowchart: Example 3

c Create a flowchart that displays the users


name,
address, birthday, age, sex, and phone
number.
Your flowchart should display the variables with
the following format:

Name: ??????
Age: ??
BDay: ?????????
Sex: ?
Phone#: ???????

Flowchart: Example 4

Create a flowchart that will compute for the


Average score of a student based on three
quizzes. The quiz scores are entered by the
user.
The scores are integers and may range from 0
to
100, inclusive. However, the Average may have
a
value having decimal places.

Example:
Q1: 98
Q2: 79
Q3: 88
Ave is 83.33

You might also like