我这样觉得太密了,用花括号怎么进行分段
#include <stdio.h>int main(void)
{
int ff;
printf("you:");
scanf("%d", &ff);
if(ff % 2==0)
printf("%d",ff);
if((ff%2)%2==0)
printf("YES%d\n\n\n\n",ff);
else
if(ff>10)
printf("%d>10",ff);
else
printf("%d<10",ff);
return 0;
}
本人不会分段,好心人详细说下,我从网上找不到关于分段的问题