哪有错啊,帮忙找找,我找不出来
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
//int main()
/*图书借阅信息*/
struct borrow_info{
long bno; /*图书编号*/
long sno; /*学号*/
struct sdate
{int year,month,day;} /*借阅开始时间*/
struct edate /*预计还书时间*/
{int year,month,day;}
//struct rdate /*实际还书时间*/
//{int year,month,day;};
///*图书预约信息*/
//struct subscribe_info{
//long bno; /*图书编号*/
//long sno; /*学号*/
//struct mydate sdate; /*预约借阅时间*/
//};
//void jieyue()
int main()
printf("学号 图书编号 借阅时间 截止时间/n");
scanf("%s%s%s%s%s%s%s%s",&book.name,&book.bno,&sdate.year,&sdate.month,&sdate.day,&edate.year,&edate.month,&edate.day);
getchar();
getchar();
return 0;
}
哪有错啊,帮忙找找,我找不出来