摘要:
写的有点复杂了,欢迎拍砖! 阅读全文
摘要:
#includeusing namespace std;double guess(int n){ double guess=static_cast(n)/2; int i=0; while(i<10) { double r=n/guess; guess=(guess+r)/2; ++i; } ... 阅读全文
摘要:
#include using namespace std; int main() { double real_loans,rate,time; cin>>real_loans>>rate>>time; double apply_loans=real_loans/(1-rate/100*time/12),month_repay=apply_loans/time; c... 阅读全文
摘要:
#include using namespace std; int main() { double pre_income,incre_income,new_income,new_month_income; cin>>pre_income; const double incre_rate=0.076/6; new_month_income=(incre_rate+... 阅读全文
摘要:
#include using namespace std; int main() { double kill_mouse_amount,mouse_weight,diet_weight; cout>kill_mouse_amount; cout>mouse_weight; cout>diet_weight; const double Concentrati... 阅读全文