本人新手,刚开始学,求解答!
#include"stdio.h"int main(void)
{
double x,y;
int h,f;
printf("intput the hands and feeds:");
scanf("%d%d",&h,&f);
x=(4.0*h-f)/2.0;
y=(f-2.0*h)/2.0;
printf("chicken=%f,rabbits=%f\n",x,y);
getchar();
return 0;
}
这个代码怎么不运行,或是不在屏幕上停留呢??怎么解决