Untitled
unknown
plain_text
2 years ago
278 B
2
Indexable
#include <iostream> using namespace std; int main() { setlocale(LC_ALL, "Russian"); int b; float a, a2 , c=1; cin >> a >> b; a2 = a; while (a2 < b) { a += ((a / 100) * 70); a2 += a; c++; } cout << c; }
Editor is loading...