标签:
Financial Management$1581.42
输入12个月的工资,计算平均工资
#include<bits/stdc++.h> using namespace std; const int maxn=100; int main() { int T; double sum=0; for(int i=0;i<12;i++){ double tmp; cin>>tmp; sum+=tmp; } printf("$%.2lf\n",sum/12.0); return 0; }
Financial Management ZOJ1048(简单计算)
标签:
原文地址:http://blog.csdn.net/u013167299/article/details/45334711