Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int soma(int x, int y){
  4. return(x+y);}
  5.  
  6. int main(){
  7. int a, b, c;
  8. a= 4;
  9. b=2;
  10. c=soma(a,b);
  11. printf("\n O resultado da soma entre %d e %d e: %d", a, b, c);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement