Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- #define _USE_MATH_DEFINES
- #include <math.h>
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "Rus");
- int i, N;
- cout << "Введите N:\n";
- cin >> N;
- i = 0;
- cout << N;
- for (i; i != 10; i++) { N = N + 1; cout << N << endl; }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement