-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinteger_array.fprg
26 lines (26 loc) · 1.2 KB
/
integer_array.fprg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="harsh"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-12-09 09:54:07 AM"/>
<attribute name="created" value="aGFyc2g7SEFSU0hJVEg7MjAyMi0xMi0wOTswOTo0NToyMyBBTTsyNDA3"/>
<attribute name="edited" value="aGFyc2g7SEFSU0hJVEg7MjAyMi0xMi0wOTswOTo1NDowNyBBTTsxOzI1MTc="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="a" type="Integer" array="True" size="10"/>
<declare name="b, c" type="Integer" array="False" size=""/>
<for variable="b" start="0" end="9" direction="inc" step="1">
<output expression=""enter the values"" newline="True"/>
<input variable="c"/>
<assign variable="a[b]" expression="c"/>
</for>
<for variable="b" start="0" end="9" direction="inc" step="1">
<output expression=""the values are" & a[b]" newline="True"/>
</for>
</body>
</function>
</flowgorithm>