#include <stdio.h>
int leggi (int min,int max){
int temp;
printf("Inserisci un numero:\n");
scanf("%d",&temp);
return temp;
}
int somma(int a,int b){
return a+b;
}
int main () {
int x, y, risultato;
x = leggi(1,1);
y= leggi(1,1);
risultato=somma(x,y);
printf("La somma è %d\n",risultato);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: