-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddition series-17 (1).fprg
More file actions
30 lines (30 loc) · 1.6 KB
/
addition series-17 (1).fprg
File metadata and controls
30 lines (30 loc) · 1.6 KB
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
27
28
29
30
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="CB.EN.U4CYS22017"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-12-02 10:29:49 AM"/>
<attribute name="created" value="Q0IuRU4uVTRDWVMyMjAxNzsyMDIyMjNNQVlDMDA1NDsyMDIyLTEyLTAyOzA5OjM0OjMyIEFNOzMwNTk="/>
<attribute name="edited" value="Q0IuRU4uVTRDWVMyMjAxNzsyMDIyMjNNQVlDMDA1NDsyMDIyLTEyLTAyOzEwOjI5OjQ5IEFNOzM7MzE3Mw=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="i" type="Integer" array="False" size=""/>
<declare name="n" type="Integer" array="False" size=""/>
<declare name="sum" type="Integer" array="False" size=""/>
<comment text="declared the variables"/>
<for variable="i" start="1" end="10" direction="inc" step="1">
<output expression=""addition table of "& i &" is"" newline="True"/>
<comment text="given output for all the tables from 1 to 10"/>
<for variable="n" start="1" end="10" direction="inc" step="1">
<comment text="assigned the sum"/>
<assign variable="sum" expression="n+i"/>
<output expression="i&"+"&n&"="&(n+i)" newline="True"/>
<comment text="the output of addition from 1 to 10"/>
</for>
</for>
</body>
</function>
</flowgorithm>