# Regarding what's after for(or while).

• 03-02-2012, 08:00 PM
Scrappy Coco
Regarding what's after for(or while).
So hey everyone! I'm in the tenth grade, and we're learning now for and while. We're gonna use it and study it for two more months. And I think I pretty much know it, I mean. I don't have a problem using it. We learn for, while, if, math, int, double, and all this.

My question is, what's after while, or after for?(except dowhile)
• 03-02-2012, 11:19 PM
DarrylBurke
Re: Regarding what's after for(or while).
An opening parenthesis: (

db
• 03-02-2012, 11:45 PM
Wnt2bsleepin
Re: Regarding what's after for(or while).
There are also Switch statements, but those aren't used for iteration. Very useful for menus
• 03-03-2012, 12:06 AM
yellowledbet
Re: Regarding what's after for(or while).
I don't know exactly what you are asking, but recursion is another way to iterate
• 03-03-2012, 09:39 AM
Scrappy Coco
Re: Regarding what's after for(or while).
Oh waw. I have no idea what you guys are talking about, but thanks anyway! :)