{ intp,k=1,m=2;
p=fun(k,m); printf(“%d”,p);
p=fun(k,m); printf(“%d”,p); }
fun(a,b)
int a,b;
{ staticint m,I=2;
m=a+b; I+=m; return(I); }
(10) main()
{ int a,b,c;
printf(“Pleaseinputtwonumber:“);
scanf(“%d%d”,&a,&b);
while(a!=b)
{ if(a<b){c=a; a=b; b=c;}
a=a–b; }
printf(“%d”,a);
}
写出输入数据为:27 9时,程序的运行结果: