-
Notifications
You must be signed in to change notification settings - Fork 0
/
swaping_numbers.fprg
28 lines (28 loc) · 1.37 KB
/
swaping_numbers.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
27
28
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="CB.EN.U4CYS22034"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-11-04 10:56:23 AM"/>
<attribute name="created" value="Q0IuRU4uVTRDWVMyMjAzNDsyMDIyMjNNQVlDMDA3MTsyMDIyLTExLTA0OzEwOjQzOjI4IEFNOzMwNTU="/>
<attribute name="edited" value="Q0IuRU4uVTRDWVMyMjAzNDsyMDIyMjNNQVlDMDA3MTsyMDIyLTExLTA0OzEwOjU2OjIzIEFNOzE7MzE2Mg=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<comment text="To sway two number without Third variable"/>
<declare name="a, b" type="Integer" array="False" size=""/>
<comment text="Entering the variable "/>
<input variable="a"/>
<input variable="b"/>
<comment text="Write the Formula for a,b"/>
<assign variable="a" expression="a+b"/>
<assign variable="b" expression="a-b"/>
<assign variable="a" expression="a-b"/>
<comment text="Using the formula the number are swap."/>
<output expression=""The New a is"&a" newline="True"/>
<output expression=""The new b is"&b" newline="True"/>
</body>
</function>
</flowgorithm>