本文介绍了如何用文字打印数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 您好今天(2006年7月9日)我参加了针对aspire系统的技术访谈。两轮技术面试。我在第一轮就做得很好而在另一轮做得不好。 面试官让我写一个程序打印并用文字给出数字......例如说...如果输入 12345 然后输出应打印为一万二千三百四十五。谁能帮助我如何在c中为此编写程序。等待回复。谢谢你。解决方案 我认为面试官会要求你为这个问题提供逻辑becoz在面试室内写下程序这是非常困难的,无论如何我给的程序,你只需复制它,粘贴并运行,它就可以工作。 展开 | 选择 | 换行 | 行号 Hi today (9th july 2006) i attended a technical interview in aspire systems. Two rounds of technical interviews. i well in the first round and did bad in the other.The interviewer asked me to write a program to print and given number in words... say for example... if the input is 12345 then the output should be printed as "twelve thousand three hundred and fourty five" can someone help me how to write a program for this in c. waiting for the reply. thanking you. 解决方案Hi, I think the interviewer would have asked you to give the logic for this question becoz writing the program inside the interview cabin for this is very difficult, anyway I am giving the program, you just copy it and paste and run, it will work. Expand|Select|Wrap|Line Numbers 这篇关于如何用文字打印数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-26 07:48