#include<iostream>
#include <iomanip>

using namespace std;
int main()
{
int i=12;
double sum,in,average;
sum=0;
for(int i=0;i<12;i++)
{
cin>>in;
sum+=in;
}
average=sum/12;
cout<<"$";
cout<<fixed<<setprecision(2)<<average<<endl;


system("PAUSE");
return 0;
}

前期没忘$ 后面缺又忘了

做错就读题啊!!!

相关文章:

  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2022-02-12
猜你喜欢
  • 2021-10-29
  • 2022-12-23
  • 2022-01-25
  • 2021-11-10
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案