Answer to Question #16090 in Action Script | Flash | Flex | ColdFusion for asadqazi

Question #16090
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
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS