麻烦 高手帮我看看 程序哪里有问题 我是初学者~!`
#include "stdafx.h"#include"stdio.h"
int main(int argc, char* argv[])
{ int x,y;
scanf("%d",&x);
if(x<1) y=x;
if(x>=1&&x<10) y=2*x-1;
if(x>=10) y=3*x-1;
printf("%d,%d",&x,&y);
return 0;
}
2011-10-16 22:02
2011-10-16 22:10
2011-10-16 22:18
2011-10-17 18:16