#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.");
}
c#输入一个数,判断它是奇数还是偶数,如果是奇数则进一步判断它是否为5的倍数
c#输入一个数,判断它是奇数还是偶数,如果是奇数则进一步判断它是否为5的倍数
数学人气:863 ℃时间:2020-01-27 09:52:50
优质解答
我来回答
类似推荐
猜你喜欢
- 1电阻与电容、电感串、并联时阻抗的求法
- 2play jokes on sb 和make jokes about sb
- 3怎么缩写英文
- 4观察下面一列数,按某种规律在括号里填上适当的数,并说明理由
- 5学校里一个圆形花圃的直径是8米,在它里面留出40%的面积种菊花,菊花的占地面积是多少?
- 6为什么滴定管,移液管,容量瓶不能用去污粉洗涤?
- 7根据任意三角函数的定义证明:(1+1/cosa+tana)/(1+1/cosa-tana)=(1+sina)/cosa
- 8Don't be stressed out. You should listen to some music and r( )
- 91把一根铁丝截成同样长的小段,截成的段数和每段的长度成()比例 判断:小王的身高与体重成不成比例()
- 10连词成句 1、is a here for may new ball (.) 2 、it light is look the yellow at (,)(.)