#include"stdio.h"
void main()
{
int x,y;
printf(“please input the x:\n”);
scanf(“x=%d”,&x);
if(x<1)
y=x;
else if(x<10)
y=2x-1;
else
y=3x-1;
printf(“y=%d\n”,y);
}
每日一题 6
猜你喜欢
转载自blog.csdn.net/drake_gagaga/article/details/113146847
今日推荐
周排行