Advertisement
alex326

Untitled

Jan 28th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. problema 468
  2.  
  3. #include<iostream>
  4. using namespace std;
  5. int main()
  6. {
  7. int n,P;
  8. cin >> n;
  9. P=(10*(n/100))+(n%10);
  10. cout << P*P;
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement