c#输入一个数,判断它是奇数还是偶数,如果是奇数则进一步判断它是否为5的倍数

问题描述:

c#输入一个数,判断它是奇数还是偶数,如果是奇数则进一步判断它是否为5的倍数

#include
main()
{int i;
printf("Please input a number:");
scanf("%d",&i);
if (i %2==0)
printf("You input the number is even numbers.");
else
if (i%5==0)
printf("You input the number is Five multiple number.");
else
printf("You input the number is odd number.");
}