0% found this document useful (0 votes)
67 views1 page

Flowgorithm - Documentation - While

This document discusses a while loop, which evaluates a Boolean expression and executes statements as long as the expression is true, rechecking the expression each time. It provides an example of a while loop that prints numbers from 1 to 100, incrementing the variable 'n' by 1 each iteration until 'n' is greater than 100.

Uploaded by

istiqlal
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)
67 views1 page

Flowgorithm - Documentation - While

This document discusses a while loop, which evaluates a Boolean expression and executes statements as long as the expression is true, rechecking the expression each time. It provides an example of a while loop that prints numbers from 1 to 100, incrementing the variable 'n' by 1 each iteration until 'n' is greater than 100.

Uploaded by

istiqlal
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/ 1

Main About Download Documentation Resources

While Shape

Default Appearance

What it Does

A While Loop evaluates a Boolean expression and, if true, executes statements. It
rechecks the expression and loops until it is false.

Example
The example, to the right, prints the numbers from 1 to 100. The assignment
statement "n = n + 1" increments the variable 'n' by 1 for each iteration of the loop.

You might also like