-
Notifications
You must be signed in to change notification settings - Fork 0
/
marks of a student.fprg
52 lines (52 loc) · 3.65 KB
/
marks of a student.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
49
50
51
52
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="Rushy"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-10-30 09:31:30 AM"/>
<attribute name="created" value="UnVzaHk7UlVTSFlFTkRSQTsyMDIyLTEwLTMwOzA4OjQ5OjM5IEFNOzI1ODQ="/>
<attribute name="edited" value="UnVzaHk7UlVTSFlFTkRSQTsyMDIyLTEwLTMwOzA5OjAzOjQ1IEFNOzE7UnVzaHk7UlVTSFlFTkRSQTsyMDIyLTEwLTMwOzA4OjQ5OjM5IEFNO2Jhc2ljIHN0dWRlbnQgZGV0YWlscy5mcHJnOzc5NTQ="/>
<attribute name="edited" value="UnVzaHk7UlVTSFlFTkRSQTsyMDIyLTEwLTMwOzA5OjMxOjMwIEFNOzI7MjY3Ng=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="a" type="String" array="False" size=""/>
<output expression=""enter your roll number"" newline="True"/>
<input variable="a"/>
<declare name="b" type="String" array="False" size=""/>
<output expression=""enter your name"" newline="True"/>
<input variable="b"/>
<declare name="c" type="String" array="False" size=""/>
<output expression=""enter your address"" newline="True"/>
<input variable="c"/>
<declare name="d" type="String" array="False" size=""/>
<output expression=""enter your blood group"" newline="True"/>
<input variable="d"/>
<declare name="e" type="String" array="False" size=""/>
<output expression=""enter your assigned department"" newline="True"/>
<input variable="e"/>
<declare name="f" type="Integer" array="False" size=""/>
<output expression=""enter your semester"" newline="True"/>
<input variable="f"/>
<declare name="g" type="String" array="False" size=""/>
<output expression=""enter your subject code 1"" newline="True"/>
<input variable="g"/>
<declare name="h" type="String" array="False" size=""/>
<output expression=""enter your subject code 2"" newline="True"/>
<input variable="h"/>
<declare name="i" type="Real" array="False" size=""/>
<output expression=""enter your " & g &" marks"" newline="True"/>
<input variable="i"/>
<declare name="j" type="Real" array="False" size=""/>
<output expression=""enter your " & h & " marks"" newline="True"/>
<input variable="j"/>
<declare name="k" type="Real" array="False" size=""/>
<assign variable="k" expression="i+j"/>
<declare name="l" type="Real" array="False" size=""/>
<assign variable="l" expression="k/2"/>
<output expression=""Your name is " & b & " Your roll number is " & a & " You live in " & c & " Your blood group is " & d & " Your assigned department is " & e & " Your semester is " & f & " Your subject code 1 is " & g & " Your subject code 2 is " & f & " Your" & g & "marks are " & i & " Your" & h & "marks are " & j & " Your total marks are " & k & " Your average marks are " & l" newline="True"/>
</body>
</function>
</flowgorithm>