Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int A(int x, int y);
- int main (void) {
- int result;
- int primo, secondo;
- printf("Inserire 2 numeri\n");
- printf("Primo: ");
- scanf("%d",&primo);
- printf("\nSecondo: ");
- scanf("%d",&secondo);
- printf("\nLa loro somma vale %d\n", A(primo,secondo));
- return 0;
- }
- int A(int x,int y){
- return x + y;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement