c语言考试,求答案,急!!急!!答:c语言考试,求答案,急!!急!! }五、程序设计题(本大题共2小题,每小题12分,共24分)36.设有-11,-9,0,3,5,6,8,12,15,21十个数,请编程从键盘上输入这十个数,并计算能够被3整除的数的平均值。37.编一个求素数的函... }五、程序设计题(本大题共2小题,每小题12分,共24分)36.设有-11,-9,...
c语言程序设计有关编程题,急求答案答:1题#include "stdio.h"main(){ int n,i;float sum=0,t,a=1.0,b=1;printf("please input n:");scanf("%d",&n);for(i=0;i<n;i++){ t=a/b;sum+=t;b=b+2;} printf("sum=%f\n",sum);} 2题#include "stdio.h"include"math.h"main(){ int n,bai,shi,ge;while(1)...