Answer to Question #16090 in Action Script | Flash | Flex | ColdFusion for asadqazi
write a program to input a single digit from 0-9 and print the input variable in words . if the input value is 9 the print zero.
1
2012-10-09T09:21:33-0400
onSelfEvent (load) {
n=9;
switch (n) {
case 1:
trace("one ");
break;
case 2:
trace("two ");
break;
case 3:
trace("three ");
break;
case 4:
trace("four ");
break;
case 5:
trace("five ");
break;
case 6:
trace("six ");
break;
case 7:
trace("seven ");
break;
case 8:
trace("eight ");
break;
case 9:
trace("zero ");
break;
}
}
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!
Learn more about our help with Assignments:
Adobe Flash
Comments
Leave a comment