The do/While repeat through the code, until the condition is met.
Syntax :doExample :
{
code ...
}
while (condition);";Output of this code :
}
while ($val<3);>
Value is 1
Value is 2
Value is 3
08 May 2005
The do while Statement
Labels:
Do while Statement,
Statement
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment