1. There are 100 students, and each student has a student number, name, and average grade. What is the most convenient structure to use? Write these structures?
typedefstruct{
int num;char name[8];float score;}node;
node student[100];
2. Design a data structure to represent the basic information of a certain bank depositor: account number, name, date of account opening, type of savings, accumulative deposit amount, interest, book total.
structnode{
int year,monthmday;}typedefstruct{
int num;char name[8];structnode date;int tag;float put;float interest;float total;}count;
3. Standard format for abstract data types
ADT 抽象数据类型
Data
数据元素之间的逻辑关系的定义
operation
操作
endADT