Advertisement
rengetsu

ProcedurProgramavimas_3.01

Apr 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int Suma(int a, int b)
  5. {
  6.     int rez;
  7.     rez=a+b;
  8.     return rez;
  9. }
  10.  
  11. int main()
  12. {
  13.     int a, b;
  14.     cin>>a>>b;
  15.     cout<<Suma(a,b)<<endl;
  16.    
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement