i = 0
Объяснение:
С++
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
int i, n;
n = 50;
i = 0;
while (n <= 40)
i = i + 1;
n = n + 60;
}
cout << "i = " << i << endl;
i = 0
Объяснение:
С++
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
int i, n;
n = 50;
i = 0;
while (n <= 40)
{
i = i + 1;
n = n + 60;
}
cout << "i = " << i << endl;
}