标签:c style class blog code java
1 /** 2 *A3-IO-03. 求整数均值(10) 3 *C语言实现 4 *测试已通过 5 */ 6 7 #include "stdio.h" 8 9 int main() 10 { 11 int a,s,d,f; 12 13 scanf("%i %i %i %i",&a,&s,&d,&f); 14 printf("Sum = %i; Average = %.1f\n",(a+s+d+f),((a+s+d+f)/4.0)); 15 }
标签:c style class blog code java
原文地址:http://www.cnblogs.com/boomkeeper/p/bo.html