-
Notifications
You must be signed in to change notification settings - Fork 0
/
ACCOUNT DETAILS-1.fprg
48 lines (48 loc) · 2.66 KB
/
ACCOUNT DETAILS-1.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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-11-18 10:53:51 AM"/>
<attribute name="created" value="Q0IuRU4uVTRDWVMyMjAxNzsyMDIyMjNNQVlDMDA1NDsyMDIyLTExLTE4OzA4OjUzOjU0IEFNOzMwNjk="/>
<attribute name="edited" value="Q0IuRU4uVTRDWVMyMjAxNzsyMDIyMjNNQVlDMDA1NDsyMDIyLTExLTE4OzEwOjUzOjUxIEFNOzU7MzE3MQ=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="ACCNO" type="Integer" array="False" size=""/>
<assign variable="ACCNO" expression="2345678"/>
<declare name="AMOUNT" type="Integer" array="False" size=""/>
<comment text="declared and assign the account no "/>
<declare name="BALANCE" type="Real" array="False" size=""/>
<declare name="PIN1" type="Integer" array="False" size=""/>
<assign variable="PIN1" expression="2022"/>
<assign variable="BALANCE" expression="6000"/>
<declare name="NAME" type="String" array="False" size=""/>
<declare name="pin" type="Integer" array="False" size=""/>
<comment text="given the pin and assigned the pin"/>
<output expression=""WELCOME TO SBI BANK"" newline="True"/>
<output expression=""ENTER YOUR ACCNO"" newline="True"/>
<input variable="ACCNO"/>
<output expression=""ENTER YOUR NAME"" newline="True"/>
<input variable="NAME"/>
<output expression=""ENTER YOUR PIN"" newline="True"/>
<input variable="PIN"/>
<if expression="PIN==PIN1">
<then>
<output expression=""ENTER THE AMOUNT YOU WANT TO WITHDRAW"" newline="True"/>
<input variable="AMOUNT"/>
<output expression=""PLEASE WITHDRAW THE CASH"" newline="True"/>
<assign variable="BALANCE" expression="BALANCE-AMOUNT"/>
<output expression=""YOUR CURRENT BALANCE IS"" newline="True"/>
<output expression=""BALANCE IS"" newline="True"/>
<output expression=""YOUR TRANSACTION IS SUCCESSFUL"" newline="True"/>
</then>
<else>
<output expression=""please recheck the pin and try again"" newline="True"/>
</else>
</if>
</body>
</function>
</flowgorithm>