摘要: #include #include #define MAX 1000 typedef struct{ double no; char name[MAX]; double price; }Book; void createList(Book b[],int len); void traverse(Book b[],int len); int main() { Bo... 阅读全文
posted @ 2019-10-15 13:06 wwww2 阅读(705) 评论(0) 推荐(0) 编辑
摘要: #include #include #define MAX 1000 typedef struct{ double no; char name[MAX]; double price; }Book; int createList(Book b[]); void traverse(Book b[],int len); double average(Book b[],int l... 阅读全文
posted @ 2019-10-15 13:03 wwww2 阅读(737) 评论(0) 推荐(1) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #define MAX 1000 typedef struct{ double no; char name[MAX]; double price; }Book; void createList(Book b[],int len); double getElem(Book book[],int len); void trave 阅读全文
posted @ 2019-10-15 12:57 wwww2 阅读(839) 评论(0) 推荐(0) 编辑