Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
236 B
1
Indexable
Never
#include <iostream>

using namespace std;
int main()
{
    setlocale(LC_ALL, "Russian");
    int b,c=1;
    float a;
    cin >> a >> b;
    while (a < b) {
        a += ((a / 100) * 70);
        c++;
    }
    cout << c;
}