diff --git a/README.md b/README.md index b18c7e8..9a80a75 100644 --- a/README.md +++ b/README.md @@ -694,7 +694,7 @@ C4:Book* DealoldBook(Book* book);\\旧书处理 C5:void foundBook(Book* book);\\根据书名检索书刊信息 C6:void foundReader_Info(Reader* reader);\\查询读者的借阅信息 - +![666](foundreaderinfo.svg) C7:void foundReaderInfo(Reader* reader);\\查询读者信息 C8:Reader* LendBook(Reader* reader, Book* book);\\读者借书 diff --git a/foundreaderinfo.svg b/foundreaderinfo.svg new file mode 100644 index 0000000..9e34424 --- /dev/null +++ b/foundreaderinfo.svg @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + foundreaderinfo + + + + + + End + + + + + + + + + + + + + + + + + + + + + String reader1 + + + + + + + + Integer id + + + + + + Input id + + + + + + Input reader + + + + + + + + + + + + + + + + + + + + id==reader->iNum + + + + + + + + + Output 读者借阅的编号 + + + + + + + + + + + + + + + + + + + + + reader->aiBookId[i] != 0 + + + + + + Output 读者的借阅编号 + + + + + + + True + + + False + + + + + + Input nextreader + + + + + + + i = 0 to reader->iMax + + + + Next + + + Done + + + + + + + Output reader = reader-> + next + + + + + True + + + False + + + + + + reader + + + + True + + + False + + + + + + Output 没有该读者 + + + + + + Input nextreader + + + + +