Funkcja Suma() zwaracjąca wartość z paramertrami
#include<iostream>
#include<cstdlib>
using namespace std;
int Suma(int a, int b)
{
return a+b;
}
int main()
{
int x,y;
cout << „podaj x=”;
cin >> x;
cout << „podaj y=”;
cin >> y;
cout << „wynik=” << Suma(x,y);
cout << „\n\n”;
system(„pause”);
}