Advertisement
rengetsu

ProcedurProgramavimas_1.02

Feb 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6.     int a, b, k;
  7.     cin >> a;
  8.     cin >> b;
  9.     k = (a * 2) + (b * 2);
  10.     cout << k;
  11.  
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement