Add files via upload

This commit is contained in:
daleclack 2020-10-21 07:46:50 +08:00 committed by GitHub
parent 023db992de
commit 6deb7127bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
cpp/xeinit4.cpp Normal file
View File

@ -0,0 +1,16 @@
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
int a=0,b,c;
printf("Input circulate number");
scanf("%d",&c);
for(int i=0;i<c;i++){
a=rand();
b=a;
a%=2;
//getchar();
}
printf("%d %d\n",a,b);
return 0;
}