计算t=1+1/2+1/3+...+1/n
整型变量n
t(保留六位小数)
10
2.928968
一些简单的题目,锻炼大家基础加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油