c语言程序设计中.docVIP

  • 8
  • 0
  • 约2.99万字
  • 约 58页
  • 2017-12-14 发布于江苏
  • 举报
c语言程序设计中

试卷编号:18338 所属语言:Turbo C 试卷方案:phq2 试卷总分:340分 共有题型:1种 一.程序设计 共34题 (共计340分) 第1题 (10.0分) 题号:380 /*------------------------------------------------ 【程序设计】 -------------------------------------------------- 功能:给定n个数据, 求最大值出现地位置(如果最大值出 现多次,求出第一次出现地位置即可). ------------------------------------------------*/ #includestdio.h int station(int s[],int n) { /**********Program**********/ /********** End **********/ } main() { int a[100],n,i,t; clrscr(); scanf(%d,n); for(i=0;in;i++) scanf(%d,a[i]); t=station(a,n); printf(the max_value position is:%d\n,t); yzj()

文档评论(0)

1亿VIP精品文档

相关文档