2014年12月27日

摘要: 程序2-1 1 #include 2 #include 3 int main() 4 { 5 int n; 6 scanf("%d",&n); 7 for(int i=1;i 2 #include 3 int main() 4 { 5 int a, b, n; 6 ... 阅读全文
posted @ 2014-12-27 23:47 lz亢龙有悔 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 习题1-1 平均数(average)1 #include2 int main()3 {4 int a,b,c;5 scanf("%d%d%d",&a,&b,&c);6 printf("%0.3lf",(a+b+c)/3.0);7 return 0;8 }本题重点在于格... 阅读全文
posted @ 2014-12-27 00:34 lz亢龙有悔 阅读(165) 评论(0) 推荐(0) 编辑

导航