投资收益

fan2023  •  9个月前


include <bits/stdc++.h>

using namespace std; float bj,nl,qw; int n=0; int main() { cin>>bj>>nl>>qw; while(bj<=qw) {

bj=bj+(bj*nl/100);
n++;

} cout<<n;

return 0; }


评论: