How do I make the variable I used to store value that I read in the scanf, be passed to the function I created?
Ex:
#include <stdio.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
}
int soma(int a, b){
int soma;
soma= a+b;
return soma;
}