C语言求余数问题#include<stdio.h>main(){ int x,y,a,b,c; float d,e; printf("Please input x and y:\n"); scanf("%d%d",&x,&y); a=x+y; b=x-y; c=x*y; d=(float)x/y; e=x%y; printf("x+y=%d\n",a); printf("x-y=%d\n",b); printf("x*y=%d\n",c);

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/02 19:13:21
xRN@+?fH) VU}AJXm i&ڂ[ gzH (,Қu-?齌kCz ÐZ*~#[>Ot