60 560
Assignments Done
97,9%
Successfully Done
In April 2018

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.
Expert's answer
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions