Advertisement
Josif_tepe

Untitled

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