题目: 求s=a+aa+aaa+aaaa+aa…a的值,其中a是一个数字,例如2+22+222+2222+22222(此时共有5个数相加),几个数相加由键盘控制 主要代码 void fun(int a,int n){ int count=1; long int sn=0,tn=