Advertisement
Josif_tepe

Untitled

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