A+B Problem 题解
2024-07-27 10:56:45
发布于:天津
1阅读
0回复
0点赞
题目分析
输入两个整数,输出它们的和。
我们可以用 scanf() 函数来实现输入,再用 printf() 函数来实现输出。
代码实现
#include<stdio.h>
int main(){
    int a,b;
	scanf("%d%d",&a,&b);
	printf("%d",a+b);
    return 0;
}
记得五星好评哦喵~ 谢谢客官啦~
这里空空如也

有帮助,赞一个