#include <iostream>
using namespace std;
int main()
{
int a, buf, counter = 0;
cin >> a;
buf = a;
while (a < buf * 100)
a += 2;
counter++;
}
cout << counter;
system("pause");
с++
#include <iostream>
using namespace std;
int main()
{
int a, buf, counter = 0;
cin >> a;
buf = a;
while (a < buf * 100)
{
a += 2;
counter++;
}
cout << counter;
system("pause");
}
с++