#include<iostream>
using namespace std;
int main(){
float a=11,b;
for(float i=5;i>=2;i--){
a=(a+(1/i))*(i/(i-1));
}
cout<<a;
}
标签:std,11,13,includeusing,cout,float From: https://www.cnblogs.com/guozi6/p/17372900.html
#include<iostream>
using namespace std;
int main(){
float a=11,b;
for(float i=5;i>=2;i--){
a=(a+(1/i))*(i/(i-1));
}
cout<<a;
}
标签:std,11,13,includeusing,cout,float From: https://www.cnblogs.com/guozi6/p/17372900.html