字数 [英] Number in Words
本文介绍了字数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
int je;
cout<<"输入一个数字:" ;;
cin>> je;
cout< ;<"在单词中:"<< tospell;
i认为我的代码有问题,请问有人帮助这个输出???例如:
输入一个数字:81
八十一
int je;
cout<<"Enter a number: ";
cin>>je;
cout<<"In words: "<<tospell;
i think there is something wrong with my code, will you please someone help with this output??? example:
Enter a number: 81
eighty one
推荐答案
int je;
i认为我的代码有问题,请问有人帮助这个输出???例如:
输入一个数字:81
八十一
int je;
i think there is something wrong with my code, will you please someone help with this output??? example:
Enter a number: 81
eighty one
展开 | / span> 选择 | 换行 | 行号
int a;
cout<<"输入一个数字;
cin>> a>> tospell;
我的输出有问题请你帮我???
例子
输入一个数字:1
one
int a;
cout<<"Enter a number";
cin>>a>>tospell;
there is something wrong in my output will you please help me???
Example
Enter a number: 1
one
展开 | 选择 | 换行 | 行号
这篇关于字数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文