输入一个金额,输出对应的人民币大写数字(零壹贰叁肆伍陆柒捌玖拾)。不考虑负数等不
合理的输入。
格式
输入格式:输入为整型(<100)
输出格式:输出字符
样例1
输入: 35
输出:叁拾伍元整
代码如下:
#include#include using namespace std; int main() { unordered_map pr{{0,"零"},{1,"壹"},{2,"贰"},{3,"叁"},{4,"肆"},{5,"伍"},{6,"陆"},{7,"柒"},{8,"捌"},{9,"玖"}}; string a; cin>>a; if(a.size()==2) { if(a[0]=='0') { if(a[1]!='0') cout<



