c语言的题,要完整答案

4.Writeaprogram:(1)Requesttheusertoenterapositiveinteger,theintegervalueshouldbelesst... 4. Write a program:
(1) Request the user to enter a positive integer, the integer value
should be less than 1000 and more then 0.
(2) Write a function convertIntToWords(int value), which converts
the passed value to words, and output the words. For example, 13 results in
"one three", and 805 results in "eight nine five".
(3) And then write a new function convertIntToRealWords(int value),
which converts the passed value to words as we really say them. For
example, 13 would be "thirteen" not "one three", 895 is pronounced "eight
hundred ninety five", not "eight nine five" .
(4) Call these two functions in a main() function individually
(5) Test your program with 1, 12, 123, 100, 102, 520 as the entered
positive integers.
展开
 我来答
揭戈雅s2
2013-10-07 · TA获得超过514个赞
知道小有建树答主
回答量:8621
采纳率:0%
帮助的人:2324万
展开全部
c语言帮完成
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式