-
Notifications
You must be signed in to change notification settings - Fork 0
/
STUDENT MARKS DETAILS.fprg
36 lines (36 loc) · 2.13 KB
/
STUDENT MARKS DETAILS.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
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="Kolluru Srinivas"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-12-09 11:00:43 AM"/>
<attribute name="created" value="S29sbHVydSBTcmluaXZhcztERVNLVE9QLTcwQ045TFQ7MjAyMi0xMi0wOTsxMDozODozMSBBTTszOTQw"/>
<attribute name="edited" value="S29sbHVydSBTcmluaXZhcztERVNLVE9QLTcwQ045TFQ7MjAyMi0xMi0wOTsxMTowMDo0MyBBTTsxOzQwNDE="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="INDEX, N" type="Integer" array="False" size=""/>
<output expression=""ENTER THE NUMBER OF STUDENTS"" newline="True"/>
<input variable="N"/>
<declare name="ROLLNUM, MARKSS, AVERAGEMARKS, NUM, TOTALMARKS" type="Real" array="False" size=""/>
<assign variable="NUM" expression="0"/>
<for variable="INDEX" start="0" end="N-1" direction="inc" step="1">
<output expression=""ENTER THE ROLL NUMBER OF STUDENT["&INDEX+1&"]"" newline="True"/>
<input variable="ROLLNUM"/>
<declare name="SUBJECT" type="Integer" array="False" size=""/>
<for variable="SUBJECT" start="1" end="5" direction="inc" step="1">
<output expression=""ENTER THE MARKS OF THE STUDENT IN FIRST SUBJECTNO"&SUBJECT" newline="True"/>
<input variable="MARKSS"/>
<assign variable="NUM" expression="NUM+MARKSS"/>
</for>
<assign variable="TOTALMARKS" expression="NUM"/>
<output expression=""ROLLNUMBER"&ROLLNUM" newline="True"/>
<output expression=""TOTALMARKS="&TOTALMARKS" newline="True"/>
<assign variable="AVERAGEMARKS" expression="TOTALMARKS/5"/>
<output expression=""AVERAGE MARKS="&AVERAGEMARKS" newline="True"/>
</for>
</body>
</function>
</flowgorithm>