14 lines
208 B
C
14 lines
208 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int soma(int a, int b) {
|
||
|
int resultado = a + b;
|
||
|
return resultado;
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
int x = 10, y = 20;
|
||
|
int z = soma(x, y);
|
||
|
printf("Resultado: %d\n", z);
|
||
|
return 0;
|
||
|
}
|