...的英文名称初始化一个字符指针数组,当键盘输入答:您好,程序已经写好,如下 include <stdio.h>int main(){char *s[]={0,"January","February","March","April","May","June","July","August","September","October","November","December"};int n;scanf("%d",&n);printf("%s\n",s[n]);} ...
C语言:随机产生一组十个整数,再从键盘输入一个值,利用指针方式求出数...答:include <stdio.h> include <stdlib.h> include int main(){ int i,x,n=0,a[10],*p;srand(time(0));for(i=0; i<10; i++){ a[i]=rand()%100;printf("%d ",a[i]);} printf("\n");scanf("%d",&x);for(p=a; px)n++;printf("数组中大于%d的数有%d个\n",x,n)...