# include <iostream> using namespace std; int somma (int , int ); void main() { int a, b, res; a = 5; b = 10; res = somma(a,b); cout << a << ", " << b << ", " << res << endl; } int somma (int x, int y) { return (x+y); }
# include <iostream> using namespace std; int somma (int , int ); void main() {
int a, b, res; a = 5; b = 10; res = somma(a,b); cout << a << ", " << b << ", " << res << endl;
} int somma (int x, int y) {
return (x+y);
}