Add files via upload
This commit is contained in:
parent
023db992de
commit
6deb7127bd
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue