摘要:
#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=0&&a<=10&&b>=0&&b<=10) cout<<a+b<<endl; return 0; } 阅读全文
posted @ 2012-05-03 13:25
菜鸟在努力!!
阅读(77)
评论(0)
推荐(0)
摘要:
#include<iostream>using namespace std;int main(){ double a,b,s; for(b=0;b<12;b++) { cin>>a; s+=a; } cout<<"$"<<s/12<<endl; return 0; } 阅读全文
posted @ 2012-05-03 13:24
菜鸟在努力!!
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号