-
Notifications
You must be signed in to change notification settings - Fork 0
/
28.10.22(2).fprg
44 lines (44 loc) · 2.56 KB
/
28.10.22(2).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
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="Logesh"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-10-28 10:38:32 AM"/>
<attribute name="created" value="TG9nZXNoO0RFU0tUT1AtRkJCOU5JNTsyMDIyLTEwLTI4OzEwOjMwOjEzIEFNOzI5MTA="/>
<attribute name="edited" value="TG9nZXNoO0RFU0tUT1AtRkJCOU5JNTsyMDIyLTEwLTI4OzEwOjMwOjE2IEFNOzE7TG9nZXNoO0RFU0tUT1AtRkJCOU5JNTsyMDIyLTEwLTI4OzA5OjI0OjAwIEFNOzU5OTc="/>
<attribute name="edited" value="TG9nZXNoO0RFU0tUT1AtRkJCOU5JNTsyMDIyLTEwLTI4OzEwOjM4OjMyIEFNOzE7MzAyNw=="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="g" type="Integer" array="False" size=""/>
<output expression=""enter sem"" newline="True"/>
<input variable="g"/>
<declare name="sc1" type="Integer" array="False" size=""/>
<output expression=""enter subjectcode 1"" newline="True"/>
<input variable="sc1"/>
<declare name="sc2" type="Integer" array="False" size=""/>
<output expression=""enter subjectcode 2"" newline="True"/>
<input variable="sc2"/>
<declare name="sc3" type="Integer" array="False" size=""/>
<output expression=""enter subjectcode 3"" newline="True"/>
<input variable="sc3"/>
<declare name="m1" type="Integer" array="False" size=""/>
<output expression=""enter marks of: &sc1"" newline="True"/>
<input variable="m1"/>
<declare name="m2" type="Integer" array="False" size=""/>
<output expression=""enter marks of: &sc2"" newline="True"/>
<input variable="m2"/>
<declare name="m3" type="Integer" array="False" size=""/>
<output expression=""enter marks of: &sc3"" newline="True"/>
<input variable="m3"/>
<declare name="tot" type="Integer" array="False" size=""/>
<assign variable="tot" expression="m1+m2+m3"/>
<output expression=""total marks: " &tot& "/300"" newline="True"/>
<declare name="avg" type="Real" array="False" size=""/>
<assign variable="avg" expression="(m1+m2+m3)/3"/>
<output expression=""average marks:" &avg& "/100"" newline="True"/>
</body>
</function>
</flowgorithm>