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/09/02 00:35:23
xRN@+?fH)VU}AJX m i&ڂ[ gzH
(,Қu-?齌kCz
ÐZ*~#[>Ot