Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
103205 陈家渝 财务管理 C++ Accepted 0 MS 272 KB 399 2024-12-28 14:13:21

Tests(1/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int i; float a,s=0; for(i=1;i<=12;i++) { cin>>a; s+=a; } printf("¥%.2f\n",s/12); return 0; }