题解 2795: 财务管理

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

牛子嗯了之打胶论I-卷1

摘要:解题思路:i从-1到12,再从12到0注意事项:边导管变打代码效果更佳参考代码:#include <stdio.h>int main(){    double sum=0,a[12];    int ……

python解题方式

摘要:解题思路:注意事项:参考代码:a = []while len(a) < 12:    a.append(float(input()))b = sum(a)/12print(&#39;$%.2f&#39……

2795: 财务管理

摘要:解题思路:注意事项:参考代码:s = ave = 0for i in range(0,12):    a = float(input())    s = s + aave = s / 12print(……