From 216a0b82eaffe51ff94bc5ae354c86dfaf4da349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E4=BD=B3=E6=85=A7?= <1608111480@qq.com> Date: Wed, 26 Apr 2023 19:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BEC6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- foundreaderinfo.svg | 193 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 194 insertions(+), 1 deletion(-) create mode 100644 foundreaderinfo.svg 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 + + + + +