63 132
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #28547 in Action Script | Flash | Flex | ColdFusion for yadul

Question #28547
write a do while loop that displays numbers 1/3/5/7...11
Expert's answer
var i:Number = 1; //setting default value of "i"variable to 1
do //starting the cycle
{
trace(i); //outputting current value of 'i'
i=i+2; //increasing value of 'i' by 2
}
while (i<12); //setting the condition of ending cycle

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions