?? 1064 financial management.cpp
字號:
/*
1064 Financial Management
Time Limit : 200 ms Memory Limit : 32768 K Output Limit : 1024 K
GUN C++
*/
#include <iostream.h>
using namespace std;
const int MAX=1000;
int main()
{
double total,month;
cout.setf(ios::fixed);
cout.precision(2);
while(cin>>total)
{
for(int ca=1;ca<12;ca++)
{
cin>>month;
total+=month;
}
cout<<'$'<<total/12<<endl;
}
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -