- 博客(6)
- 收藏
- 关注
转载 实验六
待补足的程序源码文件程序源码文件ex1_2.cpp根据前面的提示,补足函数fifindMinlist()的实现部分。#include <stdio.h>const int N=5;// 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no;...
2019-06-10 23:27:00
100
转载 实验五
#include <stdio.h> const int N=5; int binarySearch(int *x, int n, int item); int main() { int a[N]={1,3,9,16,21}; int i,index, key; printf("数组a中的数据:\n"); ...
2019-05-27 21:10:00
88
转载 实验四
1 // 功能描述:输入一组整数,输出最大值 2 #include <stdio.h> 3 int findMax(int a[], int n); // 函数声明 4 const int N=5; 5 6 int main() { 7 int a[N]; 8 int max, i; 9 printf("输入%d...
2019-04-25 23:12:00
97
转载 第三次实验
#include <stdio.h>int main() { double a,b,c; printf("输入三角形三边:\n"); while(scanf("%lf%lf%lf",&a,&b,&c)) { if(a+b>c && a+c>b...
2019-04-14 16:10:00
92
转载 实验二
#include <stdio.h> int main() { int level; printf("输入现在状态等级(1-5): "); scanf("%d",&level); switch(level) { case 1: printf("high翻了:)\n"); break; ...
2019-04-01 18:43:00
112
转载 实验一小结
#include<stdio.h>int main(){ printf("201883300006"); return 0; }这个代码比较简单并无任何问题。clude<stdio.h>int product(int,int);int main(void){ int x,y,...
2019-03-22 08:45:00
152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人