Cod sursa(job #3304919)
| Utilizator | Data | 28 iulie 2025 17:09:26 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <stdio.h>
#include <stdlib.h>
void main()
{
int a, b;
printf("Introdu a:\n");
scanf("%d", &a);
printf("Introdu b:\n");
scanf("%d", &b);
printf("Suma lor este:\n");
printf("%d",sum(a,b));
}
int sum(int a, int b)
{
return a+b;
}