为什么打印不出来呢?
#include<iostream>using namespace std;
int a(int,int);
int main()
{
int x,y,z;
cout<<"cin"<<endl;
cin>>x;
cin>>y;
z=a(x,y);
cout<<"z"<<z<<x<<y<<endl;
return 0;
}
int a(int x,int y)
{
if(x==1)
return x;
else
return(x*a(x,y-1));
}