点解会运行不到~~~
题目;比较两个分数的大小
main() { int za,mb,zc,md; double p,q; printf("please input the number p of za/mb:\n"); scanf("%d%d",&za,&mb); p=za/mb; printf("please input the number q of zc/md:\n"); scanf("%d%d",&zc,&md); q=zc/md; if(p>q) printf("the bigger one is %d/%d",za,mb); else printf("the bigger one is %d/%d",zc,md); printf("\n"); }