#include<stdio.h>
int Add(int x, int y)
{
int z = 0;
z = x + y;
return z;
}
int main()
{
int n1 = 0;
int n2 = 0;
scanf_s("%d %d", &n1, &n2);
int sum = Add(n1, n2);
printf("%d", sum);
return 0;
}
#include<stdio.h>
int Add(int x, int y)
{
int z = 0;
z = x + y;
return z;
}
int main()
{
int n1 = 0;
int n2 = 0;
scanf_s("%d %d", &n1, &n2);
int sum = Add(n1, n2);
printf("%d", sum);
return 0;
}
评论区