write a do while loop that displays numbers 1/3/5/7...11
1
Expert's answer
2013-04-16T12:02:22-0400
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
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment