Advertisement
Josif_tepe

Untitled

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