这个程序那错了啊
#includemain(void)
{long all=0,time=0,timeall=0;
int doller=0,cent=0;
const num=100;
scanf("%ld",&all);/*月薪*/
scanf("%ld",&time);/*月工时*/
timeall=all/time;/*时薪*/
doller=floor(timeall);/*元*/
cent=(timeall-doller)*num;/*分*/
printf("%d doller %d cent\n",doller,cent);
printf("%d doller %d cent\n",floor(timeall),(timeall-doller)*num);
return (0);
getch();
}
求教 这个到底哪错了啊 找不到啊