Lucian_Adrian

#46 SumaPare

Sep 21st, 2021
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6. int n;
  7. cin >> n;
  8. cout <<"Suma este "<< (n+1)*n;
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment