啊哈磊_编程从这里起步
标题:
为什么除法算的是乘法
[打印本页]
作者:
hello world/
时间:
2020-12-21 09:07
标题:
为什么除法算的是乘法
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
scanf("%d%d",&a,&b);
c=a+b;
printf("%d+%d=%d",a,b,c);
c=a-b;
printf("%d-%d=%d",a,b,c);
c=a*b;
printf("%d*%d=%d",a,b,c);
c=a/b;
printf("%d/%d=%d,a,b,c");
system("pause");
return 0;
}
复制代码
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2