forked from pvfj5ugro/text3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
151 lines
9.8 KiB
151 lines
9.8 KiB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!-- Created by Flowgorithm 3.4.2 (http://flowgorithm.org) -->
|
|
|
|
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="2666" height="3813">
|
|
<rect x="0" y="0" width="2666" height="3813" fill="#FFFFFF"/>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,248 837,323"/>
|
|
<polygon fill="#404040" stroke="none" points="837,341 854,310 819,310"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,2201 837,3547"/>
|
|
<polygon fill="#404040" stroke="none" points="837,3565 854,3534 819,3534"/>
|
|
<g>
|
|
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="4" stroke-dasharray="none" d="M 682,124 A 62 62, 0, 0 0, 682 248 L 992,248 A 62 62, 0, 0 0, 992 124 Z"/>
|
|
<text x="837" y="142" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="837" dy="62" unicode-bidi="embed">WritetoFile</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="4" stroke-dasharray="none" d="M 713,3565 A 62 62, 0, 0 0, 713 3689 L 961,3689 A 62 62, 0, 0 0, 961 3565 Z"/>
|
|
<text x="837" y="3583" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="837" dy="62" unicode-bidi="embed">End</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,496 837,571"/>
|
|
<polygon fill="#404040" stroke="none" points="837,589 854,558 819,558"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,744 837,819"/>
|
|
<polygon fill="#404040" stroke="none" points="837,837 854,806 819,806"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,1736 837,1811"/>
|
|
<polygon fill="#404040" stroke="none" points="837,1829 854,1798 819,1798"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,1953 837,2059"/>
|
|
<polygon fill="#404040" stroke="none" points="837,2077 854,2046 819,2046"/>
|
|
<g>
|
|
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 651,341 L 651,496 L 1023,496 L 1023,341 Z"/>
|
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="651,372 1023,372"/>
|
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="682,341 682,496"/>
|
|
<text x="852" y="390" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="852" dy="62" unicode-bidi="embed">Integer i</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 651,589 L 651,744 L 1023,744 L 1023,589 Z"/>
|
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="651,620 1023,620"/>
|
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="682,589 682,744"/>
|
|
<text x="852" y="638" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="852" dy="62" unicode-bidi="embed">Integer j</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1271,1085 1488,1085 1488,1377"/>
|
|
<polygon fill="#404040" stroke="none" points="1488,1395 1505,1364 1470,1364"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1488,1581 1488,1705 885,1705"/>
|
|
<polygon fill="#404040" stroke="none" points="868,1705 898,1722 898,1687"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="403,1085 155,1085 155,1705 788,1705"/>
|
|
<polygon fill="#404040" stroke="none" points="806,1705 775,1687 775,1722"/>
|
|
<g>
|
|
<path fill="#FFD0D0" stroke="#A07070" stroke-width="4" stroke-dasharray="none" d="M 837,837 L 372,1085 L 837,1333 L 1302,1085 Z"/>
|
|
<text x="837" y="1010" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="837" dy="62" unicode-bidi="embed">(fp = fopen("student.txt",</tspan>
|
|
<tspan x="837" dy="62" unicode-bidi="embed"> "w")) == NULL</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#D0FFD0" stroke="#70A070" stroke-width="4" stroke-dasharray="none" d="M 1178,1395 L 1085,1581 L 1798,1581 L 1891,1395 Z"/>
|
|
<text x="1488" y="1413" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">Output "Failure to open</tspan>
|
|
<tspan x="1488" dy="62" unicode-bidi="embed"> score.txt!\n"</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
</g>
|
|
<ellipse cx="837" cy="1705" rx="31" ry="31" fill="#FFD0D0" stroke="#A07070" stroke-width="4"/>
|
|
<text x="1395" y="979" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1395" dy="62" unicode-bidi="embed">True</tspan>
|
|
</text>
|
|
<text x="263" y="979" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="263" dy="62" unicode-bidi="embed">False</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 465,1829 L 403,1953 L 1209,1953 L 1271,1829 Z"/>
|
|
<text x="837" y="1847" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="837" dy="62" unicode-bidi="embed">Output fp, "%d\t%d\n", n, m</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1085,2139 1488,2139 1488,2245"/>
|
|
<polygon fill="#404040" stroke="none" points="1488,2263 1505,2232 1470,2232"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1488,3348 1488,3441 899,3441 899,2218"/>
|
|
<polygon fill="#404040" stroke="none" points="899,2201 881,2231 916,2231"/>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1488,2449 1488,2555"/>
|
|
<polygon fill="#404040" stroke="none" points="1488,2573 1505,2542 1470,2542"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1488,2697 1488,3144"/>
|
|
<polygon fill="#404040" stroke="none" points="1488,3162 1505,3131 1470,3131"/>
|
|
<g>
|
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1116,2263 L 1023,2449 L 1860,2449 L 1953,2263 Z"/>
|
|
<text x="1488" y="2281" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">Output fp, "%10ld%10s", stu</tspan>
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">[i].num, stu[i].name</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1736,2635 2108,2635 2108,2741"/>
|
|
<polygon fill="#404040" stroke="none" points="2108,2759 2125,2728 2090,2728"/>
|
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2108,2945 2108,3038 1550,3038 1550,2714"/>
|
|
<polygon fill="#404040" stroke="none" points="1550,2697 1532,2727 1567,2727"/>
|
|
<g>
|
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1767,2759 L 1674,2945 L 2449,2945 L 2542,2759 Z"/>
|
|
<text x="2108" y="2777" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="2108" dy="62" unicode-bidi="embed">Output fp, "%10.0f", stu[i].</tspan>
|
|
<tspan x="2108" dy="62" unicode-bidi="embed">score[j]</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 1302,2573 L 1240,2635 L 1302,2697 L 1674,2697 L 1736,2635 L 1674,2573 Z"/>
|
|
<text x="1488" y="2591" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">j = 0 to m-1</tspan>
|
|
</text>
|
|
</g>
|
|
<text x="1829" y="2529" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1829" dy="62" unicode-bidi="embed">Next</tspan>
|
|
</text>
|
|
<text x="1379" y="2715" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1379" dy="62" unicode-bidi="embed">Done</tspan>
|
|
</text>
|
|
</g>
|
|
<g>
|
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1147,3162 L 1054,3348 L 1829,3348 L 1922,3162 Z"/>
|
|
<text x="1488" y="3180" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">Output fp, "%10.0f%10.0f\</tspan>
|
|
<tspan x="1488" dy="62" unicode-bidi="embed">n", stu[i].sum, stu[i].aver</tspan>
|
|
</text>
|
|
</g>
|
|
</g>
|
|
<g>
|
|
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 651,2077 L 589,2139 L 651,2201 L 1023,2201 L 1085,2139 L 1023,2077 Z"/>
|
|
<text x="837" y="2095" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="837" dy="62" unicode-bidi="embed">i = 0 to n-1</tspan>
|
|
</text>
|
|
</g>
|
|
<text x="1178" y="2033" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="1178" dy="62" unicode-bidi="embed">Next</tspan>
|
|
</text>
|
|
<text x="728" y="2219" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
|
<tspan x="728" dy="62" unicode-bidi="embed">Done</tspan>
|
|
</text>
|
|
</g>
|
|
</g>
|
|
</g>
|
|
</svg>
|