Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
252 B
0
Indexable
Never
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
int main() {
	int x,y,n;
	float a;
	n = 1;
	cin >> x >> y;
	a = float(x);
	while (true) {
		a += (a / 100 * 70);
		n += 1;
		if (a >= y) break;
	}
	cout << n;
}