lab5 (143)

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { setlocale(LC_ALL, "ru"); int n, N=0, k=0; cout << "Введите n" << endl; cin >> n; cout << endl; for (int i = 1; i < n; i++) { if (i % 11 != 0) { k++; } N = k; } cout << "Результат - " << N << endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines