-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCalculating simple interest.fprg
More file actions
27 lines (27 loc) · 1.34 KB
/
Calculating simple interest.fprg
File metadata and controls
27 lines (27 loc) · 1.34 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
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="Aloukik"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2023-01-23 06:08:41 PM"/>
<attribute name="created" value="QWxvdWtpaztTVEFSVExFUjsyMDIzLTAxLTIyOzA4OjU0OjEwIFBNOzI2MTk="/>
<attribute name="edited" value="QWxvdWtpaztTVEFSVExFUjsyMDIzLTAxLTIzOzA2OjA4OjQxIFBNOzE7MjcyOQ=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="rate" type="Real" array="False" size=""/>
<declare name="years, amount" type="Integer" array="False" size=""/>
<declare name="interest" type="Real" array="False" size=""/>
<output expression=""Enter amount"" newline="True"/>
<input variable="amount"/>
<output expression=""Enter years"" newline="True"/>
<input variable="years"/>
<output expression=""Enter rate"" newline="True"/>
<input variable="rate"/>
<assign variable="interest" expression="(amount*rate*years)/100"/>
<output expression=""The interest is "&interest" newline="True"/>
</body>
</function>
</flowgorithm>