lab5 (143)
#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;
}
INFO