欧阳俊懿 • 1天前
#include<iostream> // cin\cout\endl
#include<cstdio> //scanf()\printf()
#include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset()
#include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min()
using namespace std;
void a(int x){
if(x>100)return ;
cout<<x++<<endl;
a(x);
}
int main(){
int x=1;
a(x);
return 0;
}
评论: