请问错在哪
# include<stdio.h>
void main()
{
int a,b,c;
printf("请输入三个整数:");
scanf("%d%d%d",&a,&b,&c);
if(a%2==0)
{
if(b%2==0)
{
if(c%2==0)
{
printf("能被2整除的有%d%d%d",a,b,c);
}
else {printf("能被2整除的有%d%d",a,b);}
}
if(b%2!==0)
{
if(c%2==0)
{
printf("能被2整除的有%d%d",a,c);
}
else {printf("能被2整除的有%d",a);}
}
}
if(b%2==0)
{
if(c%2==0)
{printf("能被2整除的有%d%d",b,c);}
else
{printf("能被2整除的有%d",b);}
}
else(c%2==0)
{printf("能被2整除的有%d",c);}
if(a%3==0)
{
if(b%3==0)
{
if(c%3==0)
{
printf("能被3整除的有%d%d%d",a,b,c);
}
else {printf("能被3整除的有%d%d",a,b);}
}
if(b%3!==0)
{
if(c%3==0)
{
printf("能被3整除的有%d%d",a,c);
}
else {printf("能被3整除的有%d",a);}
}
}
if(b%3==0)
{
if(c%3==0)
{printf("能被3整除的有%d%d",b,c);}
else
{printf("能被3整除的有%d",b);}
}
else(c%3==0)
{printf("能被3整除的有%d",c);}
if(a%5==0)
{
if(b%5==0)
{
if(c%5==0)
{
printf("能被5整除的有%d%d%d",a,b,c);
}
else {printf("能被5整除的有%d%d",a,b);}
}
if(b%5!==0)
{
if(c%5==0)
{
printf("能被5整除的有%d%d",a,c);
}
else {printf("能被5整除的有%d",a);}
}
}
if(b%5==0)
{
if(c%5==0)
{printf("能被5整除的有%d%d",b,c);}
else
{printf("能被5整除的有%d",b);}
}
else(c%5==0)
{printf("能被5整除的有%d",c);}
}