int main(){ double res = 0; int nowVal = 1; for (int i = 1; i <= 5; ++i) { nowVal *= i; res += (double)1 / nowVal; } printf("%f\n", res);}