Advertisement
Guest User

2.4

a guest
Sep 22nd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include "pch.h"
  2. #include <iostream>
  3. #define _USE_MATH_DEFINES
  4. #include <math.h>
  5. using namespace std;
  6. int main()
  7. {
  8. setlocale(LC_ALL, "Rus");
  9. int i, N;
  10. cout << "Введите N:\n";
  11. cin >> N;
  12. i = 0;
  13. cout << N;
  14. for (i; i != 10; i++) { N = N + 1; cout << N << endl; }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement