啊哈磊_编程从这里起步
标题:
help me !为什么执行不了 !
[打印本页]
作者:
社么破名七个字
时间:
2024-3-15 20:19
标题:
help me !为什么执行不了 !
#include <stdio.h>
#include <stdlib.h>
int main()
{
system ( “color f5”)
return 0;
}
复制代码
作者:
招财猫*
时间:
2024-3-19 16:24
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
scanf("%d%d",&a,&b);
c=a+b;
printf("%d+%d=%d",c);
c=a*b;
printf("%d*%d=%d",c);
c=a/b;
printf("%d/%d=%d",c);
c=a-b;
printf("%d-%d=%d",c);
system("pause");
return 0;
}
复制代码
作者:
招财猫*
时间:
2024-3-19 16:24
system(“color f5");
作者:
招财猫*
时间:
2024-3-19 16:26
system下一排还要加: printf("你想输入的东西");
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2