#include <iostream> #include <cstring> using namespace std; int main() { char num[101]; char out[11][10] = {"ling","yi","er","san","si","wu","liu","qi","ba","jiu"}; cin>>num; int r = 0, i = 0; int a[10] = {0}; while(num[i]!='
#include <iostream> #include <cstring> using namespace std; int main() { char num[101]; char out[11][10] = {"ling","yi","er","san","si","wu","liu","qi","ba","jiu"}; cin>>num; int r = 0, i = 0; int a[10] = {0}; while(num[i]!='