Skip to content

Commit

Permalink
测试程序
Browse files Browse the repository at this point in the history
  • Loading branch information
juyaoliu committed May 12, 2020
1 parent 07591ce commit 3dcbd2f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
int a;
int b;
int program(int a,int b,int c)
{
int i;
int j;
i=0;
if(a>(b+c))
{
j=a+(b*c+1);
}
else
{
j=a;
}
while(i<=100)
{
i=j*2;
j=i;
}
return i;
}

int demo(int a)
{
a=a+2;
return a*2;
}

void main(void)
{
int a;
int b;
int c;
a=3;
b=4;
c=2;
a=program(a,b,demo(c));
return;
}
#

0 comments on commit 3dcbd2f

Please sign in to comment.