问题:
#include<stdio.h>
int main()
{
int i,num1,num2,temp,n=0;
for(i=1;i<40;i++)
{
num1=40;
num2=i;
while(num2!=0)
{
temp=num1%num2;
num1=num2;
num2=temp;
}
if(num1==1)
{
n++;
printf("%2d/40 ",i);
if(n%8==0)
printf("\n");
}
}
}
标签:num1,temp,int,40,打卡,num2 From: https://www.cnblogs.com/ykznlxx/p/17436048.html