Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Loops and the real world

lynlawdac
Beginner
256 Views
How and when are loops utilized in real world examples? I have actually gotten the gist of the different types of loops and what it means by pre-test and post-test, but when it come to real world examples, I'm not sure how and when they are used. Anyone have any examples?
0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
256 Views

Project WriteTermPaper()
WriteFirstDraft()
Done=FALSE
While(.NOT. Done)
ReviseDraft()
If(Satisfied()) Done=TRUE
EndWhile
End Project

Jim Dempsey

0 Kudos
Reply