Run ID:74329

提交时间:2024-05-25 09:27:53

#include<iomanip> #include<iostream> #include <iostream> #include<queue> using namespace std; int main() { double q,w,e,r,t,y,u,i,o,p,a,s,c = 0; cin>>q>>w>>e>>r>>t>>y>>u>>i>>o>>p>>a>>s; c = (q+w+e+r+t+y+u+i+o+p+a+s)/12; cout<<fixed<<setprecision(2)<<"$"<<c; }