pull/9/head
yangtengze 2 years ago
parent 0eb824cdef
commit a27fa75acd

@ -62,7 +62,14 @@
程序退出
```
### C1: 查找图书
选择菜单命令: 1 提示Find Book 和 Enter book ID: 字样则继续输入图书编号。若没找到提示Not found;若找到提示Found 并 打印书籍信息。
选择菜单命令: 1 提示Find Book 和 Enter book ID: 字样若本身书籍库为空则提示Book data empty。继续输入图书编号。若没找到提示Not found;若找到提示Found 并 打印书籍信息。
```
请选择1
Find Book
Book data empty
```
```
请选择1
@ -86,7 +93,14 @@ Book
************** Number: 3 **************
```
### C2:借用图书
选择菜单命令2提示Boorow Book和Which book you wanna boorow ?则继续输入图书编号。若该书本身不存在则提示NOT FOUND THIS BOOK如图书存在则提示OK。
选择菜单命令2提示 Boorow Book若本身书籍库为空则提示Book data empty。提示 Which book you wanna boorow ?则继续输入图书编号。若该书本身不存在则提示NOT FOUND THIS BOOK如图书存在则提示OK。
```
请选择2
Boorow Book
Book data empty
```
```
请选择2
@ -110,7 +124,7 @@ OK
*********
```
### C3:归还图书
选择菜单命令3 提示归还图书 和 你想要归还哪一本书?输入图书编号,若在系统中没有该图书,则添加图书并输入图书的编号,数量和数目,显示相关信息并归还成功,否则直接退出。
选择菜单命令3提示归还图书 和 你想要归还哪一本书?输入图书编号,若在系统中没有该图书,则添加图书并输入图书的编号,数量和数目,显示相关信息并归还成功,否则直接退出。
`````
请选择3
@ -143,7 +157,7 @@ Which book you wanna repaid ?
`````
### C4打印书籍
选择菜单命令4 提示打印书籍并打印图书信息若没有书则输出Total: 0 books若有书则输出书籍信息
选择菜单命令4提示打印书籍并打印图书信息若没有书则输出Total: 0 books若有书则输出书籍信息
```
请选择4

@ -0,0 +1,277 @@
<mxfile host="65bd71144e">
<diagram id="0iwV3ipOlTaEYRU5HPaa" name="Page-1">
<mxGraphModel dx="2241" dy="1959" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="5" value="" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="17" value="" style="edgeStyle=none;html=1;fillColor=#60a917;strokeColor=#2D7600;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="320" as="targetPoint"/>
<Array as="points">
<mxPoint x="280" y="320"/>
<mxPoint x="280" y="180"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="13">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="320"/>
<mxPoint x="280" y="460"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="15">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="320"/>
<mxPoint x="280" y="600"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="21" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="3" target="10">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="320"/>
<mxPoint x="280" y="40"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="65" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="49">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="67" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="50">
<mxGeometry relative="1" as="geometry">
<mxPoint x="530" y="320" as="targetPoint"/>
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="190"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="68" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="52">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="50"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="69" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="58">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="470"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="70" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="60">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="610"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="71" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="471" y="320" as="sourcePoint"/>
<mxPoint x="581" y="750" as="targetPoint"/>
<Array as="points">
<mxPoint x="521" y="320"/>
<mxPoint x="521" y="750"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="72" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#d80073;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="54">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="-90"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="73" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#6a00ff;strokeColor=#4C0099;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;strokeWidth=3;" edge="1" parent="1" source="3" target="56">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="520" y="320"/>
<mxPoint x="520" y="-230"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="3" value="&lt;h1 style=&quot;font-size: 30px;&quot;&gt;main&lt;/h1&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1;fontSize=30;" vertex="1" parent="1">
<mxGeometry x="350" y="290" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" value="&lt;h2&gt;make_choice&lt;/h2&gt;" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="290" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="&lt;h2&gt;display_menu&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="150" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="10" value="&lt;h2&gt;init&amp;nbsp;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="10" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" value="&lt;h2&gt;confirm&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="430" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" value="&lt;h2&gt;quit&amp;nbsp;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="570" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="78" style="edgeStyle=none;html=1;strokeColor=#B09500;fontColor=#f9f9f5;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fillColor=#e3c800;sketch=1;curveFitting=1;jiggle=2;strokeWidth=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="49" target="75">
<mxGeometry relative="1" as="geometry">
<mxPoint x="950" y="-190" as="targetPoint"/>
<Array as="points">
<mxPoint x="960" y="320"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="49" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#f4f4f0&quot;&gt;DoRepaidBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="290" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="88" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#001DBC;fontColor=#f9f9f5;fillColor=#0050ef;sketch=1;curveFitting=1;jiggle=2;strokeWidth=3;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="50">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1000" y="-30" as="targetPoint"/>
<Array as="points">
<mxPoint x="850" y="190"/>
<mxPoint x="850" y="-30"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="50" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#f5f5f0&quot;&gt;DoPrintBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="160" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="76" style="edgeStyle=none;html=1;strokeColor=#B09500;fontColor=#f9f9f5;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fillColor=#e3c800;sketch=1;curveFitting=1;jiggle=2;strokeWidth=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="52" target="75">
<mxGeometry relative="1" as="geometry">
<mxPoint x="950" y="-190" as="targetPoint"/>
<Array as="points">
<mxPoint x="960" y="50"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="87" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#001DBC;fontColor=#f9f9f5;fillColor=#0050ef;sketch=1;curveFitting=1;jiggle=2;strokeWidth=3;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="52">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1000" y="-30" as="targetPoint"/>
<Array as="points">
<mxPoint x="850" y="50"/>
<mxPoint x="850" y="-30"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="52" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#f7f7f2&quot;&gt;DoDeleteBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="20" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="77" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#B09500;fontColor=#f9f9f5;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fillColor=#e3c800;sketch=1;curveFitting=1;jiggle=2;strokeWidth=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="54" target="75">
<mxGeometry relative="1" as="geometry">
<mxPoint x="970" y="50" as="targetPoint"/>
<Array as="points">
<mxPoint x="960" y="-90"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="86" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#001DBC;fontColor=#f9f9f5;fillColor=#0050ef;sketch=1;curveFitting=1;jiggle=2;strokeWidth=3;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="54">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1000" y="-30" as="targetPoint"/>
<Array as="points">
<mxPoint x="850" y="-90"/>
<mxPoint x="850" y="-30"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="95" style="edgeStyle=none;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;jumpSize=6;html=1;strokeColor=#4D9900;strokeWidth=3;fontFamily=Helvetica;fontSize=30;fontColor=#FFFFFF;startSize=6;" edge="1" parent="1" source="54">
<mxGeometry relative="1" as="geometry">
<mxPoint x="850" y="750" as="targetPoint"/>
<Array as="points">
<mxPoint x="770" y="-90"/>
<mxPoint x="770" y="750"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="54" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;&amp;nbsp;DoFindBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="-120" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="83" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#BD7000;fontColor=#f9f9f5;fillColor=#f0a30a;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="56" target="82">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="810" y="-230"/>
<mxPoint x="810" y="-340"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="85" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#001DBC;fontColor=#f9f9f5;fillColor=#0050ef;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="700" y="-230" as="sourcePoint"/>
<mxPoint x="1000" y="-30" as="targetPoint"/>
<Array as="points">
<mxPoint x="850" y="-230"/>
<mxPoint x="850" y="-30"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="56" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#f9f9f5&quot;&gt;DoAddBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="-260" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="79" style="edgeStyle=none;html=1;strokeColor=#B09500;fontColor=#f9f9f5;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fillColor=#e3c800;sketch=1;curveFitting=1;jiggle=2;strokeWidth=2;startSize=6;jumpSize=6;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="58" target="75">
<mxGeometry relative="1" as="geometry">
<mxPoint x="970" y="50" as="targetPoint"/>
<Array as="points">
<mxPoint x="960" y="470"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="92" style="edgeStyle=none;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;jumpSize=6;html=1;strokeColor=#4D9900;strokeWidth=3;fontFamily=Helvetica;fontSize=30;fontColor=#FFFFFF;startSize=6;" edge="1" parent="1" source="58">
<mxGeometry relative="1" as="geometry">
<mxPoint x="850" y="750" as="targetPoint"/>
<Array as="points">
<mxPoint x="770" y="470"/>
<mxPoint x="770" y="750"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="58" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;DoBoorowBook&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="440" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="80" style="edgeStyle=none;html=1;strokeColor=#B09500;fontColor=#f9f9f5;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fillColor=#e3c800;sketch=1;curveFitting=1;jiggle=2;strokeWidth=2;fontFamily=Helvetica;fontStyle=1" edge="1" parent="1" source="60" target="75">
<mxGeometry relative="1" as="geometry">
<mxPoint x="970" y="50" as="targetPoint"/>
<Array as="points">
<mxPoint x="960" y="610"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="60" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;&lt;font color=&quot;#f5f5f0&quot;&gt;DoReviseBook&lt;/font&gt;&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="580" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="90" style="edgeStyle=none;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;jumpSize=6;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#4D9900;strokeWidth=3;fontFamily=Helvetica;fontSize=30;fontColor=#FFFFFF;startSize=6;" edge="1" parent="1" source="62" target="89">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="62" value="&lt;h2 style=&quot;background-color: rgb(30, 30, 30); font-size: 14px; line-height: 19px;&quot;&gt;DoSortBook()&lt;/h2&gt;" style="whiteSpace=wrap;html=1;rounded=0;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="580" y="720" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="75" value="&lt;h2&gt;&lt;span&gt;find&lt;/span&gt;&lt;/h2&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#F0F0F0;fontColor=#f9f9f5;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="898" y="-250" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="82" value="&lt;h2&gt;input&lt;/h2&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#F0F0F0;fontColor=#f9f9f5;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="898" y="-370" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="84" value="&lt;h2&gt;print&lt;/h2&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;sketch=1;curveFitting=1;jiggle=2;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="1000" y="-60" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="89" value="&lt;div style=&quot;background-color: rgb(30, 30, 30); font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px;&quot;&gt;&lt;h3 style=&quot;line-height: 19px;&quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;bookempty&lt;/font&gt;&lt;/h3&gt;&lt;/div&gt;" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontFamily=Helvetica;fontSize=30;" vertex="1" parent="1">
<mxGeometry x="850" y="720" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="98" value="&amp;nbsp;&lt;br&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=30;fontFamily=Helvetica;fontColor=#FFFFFF;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
<mxGeometry x="-225" y="-65" width="30" height="50" as="geometry"/>
</mxCell>
<mxCell id="99" value="&amp;nbsp;&lt;br&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=30;fontFamily=Helvetica;fontColor=#FFFFFF;sketch=1;hachureGap=4;jiggle=2;curveFitting=1;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;" vertex="1" parent="1">
<mxGeometry x="585" y="1265" width="30" height="50" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -97,6 +97,7 @@ void DoAddBook()
void DoFindBook()
{
cout << endl << "Find Book" << endl <<endl;
if (bookempty()) cout << "Book data empty"<< endl;
int id;
cout << "Enter book ID: ";
cin >> id;
@ -178,6 +179,7 @@ void DoBoorowBook()
{
cout << endl << "Boorow Book" << endl <<endl;
int id;
if (bookempty()) cout << "Book data empty"<< endl;
cout << "Which book you wanna boorow ? " << endl;
cout << "Enter book ID :" << endl;
cin >> id;

Loading…
Cancel
Save