开发者

how to read number and print it out digit by digit

  1. Write a program to read in a number and print it out digit by digit, as a series o开发者_StackOverflowf words. For example, the number 523 would be printed as "five two three". Use decode function within a for loop. Display the results on the screen using dbms_output.put_line.


Here's a fairly extensive forum thread on this by the popular Tom Kyte:

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1407603857650

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜