谁能帮小弟解答一道C语言题目 小弟是菜鸟 Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:nine three

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 17:34:32
谁能帮小弟解答一道C语言题目小弟是菜鸟Writeaprogramthattakesanintegerkeyedinfromtheterminalandextractsanddisplayseachdi

谁能帮小弟解答一道C语言题目 小弟是菜鸟 Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:nine three
谁能帮小弟解答一道C语言题目 小弟是菜鸟
Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:
nine three two
Remember to display "zero" if the user types in just a 0.
This exercise is non simple,so make sure that you have worked out your algorithm in advance.

谁能帮小弟解答一道C语言题目 小弟是菜鸟 Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:nine three
首先要建立数字0-9和英文”zero“-”nine“的对应关系
然后,一个int数组,存放输入的int的各个数字
然后用输入的那个int不停的除以10,取余,结果放进数组里,再除以10……
直到输入的int为0.另外输入为0的单独处理
依次从数组末尾取出数字转换成鸟文输出到屏幕上

偷懒的方法就是输入的时候你不存成一个int,而直接存在数组里……

谁能帮小弟解答一道C语言题目 小弟是菜鸟 Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:nine three 一道简单的 C语言题目 小弟在线等Write a C program that produces the following outputCounting down54321Liftoff! 小弟英语一菜鸟 谁能帮小弟解答一道C语言题目 Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan in C语言 用循环结构输出下列图形1123123451234567小弟在此跪求高手解答 Mai i take your a picture 小弟是‘菜鸟’ c语言为什么都是数学题?小弟是新手,刚自学c语言,为何里边,怎么回事? 急求解答一道关于VF的题目:设a=3,则执行命令?a=a+1后显示结果为()这是一道VF的考试题目,小弟不会做,麻烦会做大虾们帮帮忙哈,A 3 B 4 C t D f 四选一 答案是最后个D 怎么得来的呢? “y=%3o ”是什么意思小弟是c语言初学者, 帮小弟解决一道2级C语言试题void f(int *q){int i=0;for( ; i 如图所示,数字电子技术一道很简单的题目TTL门电路,输入端1,2,3为多余输入端,试问哪些接线方法是对的求高手解答,最好有思路和步骤,小弟是初学者 【c语言菜鸟】c语言里delta是啥意思? 请问“战胜基准”是什么意思,英语怎么说?小弟是菜鸟一枚, C语言编程问题,编写程序,输入两个正整数m和n,求∑(i*i+1/i) 求和符号下面 i=m ,上面n编写程序,输入两个正整数m和n,求∑(i*i+1/i) 求和符号下面 i=m 上面n 小弟是菜鸟,新生求指教~ 一道简单的二次函数题目,如图感觉这是一道经典的题目,解法知道,只是求标准过程、格式怎么写,小弟自己在预习, C语言中f*=k是什么意思,小弟做的是计算机软件基础一上的题. 一道高数题,小弟跪拜了 小弟跪求一道数学题!难啊~!题目:有一位同学在数学竞赛辅导书上看到这样一道题:已知三角形ABC的三边长分别是a,b,c.而且a,b,c的值满足等式|b+c-2a|+(b+c-5)^2=0,求b的取值在什么范围内?你能解答这