-
Notifications
You must be signed in to change notification settings - Fork 0
/
SEMESTER AVERAGE.fprg
65 lines (65 loc) · 4.29 KB
/
SEMESTER AVERAGE.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
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="nunna"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-10-28 10:19:43 AM"/>
<attribute name="created" value="bnVubmE7QVNSSVRBOzIwMjItMTAtMjg7MDk6MjQ6MjkgQU07MjI2OA=="/>
<attribute name="edited" value="bnVubmE7QVNSSVRBOzIwMjItMTAtMjg7MTA6MTk6NDMgQU07MzsyMzcw"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<comment text="STUDENT INFO "/>
<declare name="rollnumber" type="String" array="False" size=""/>
<output expression=""enter your roll number"" newline="True"/>
<input variable="rollnumber"/>
<declare name="name" type="String" array="False" size=""/>
<output expression=""enter your name"" newline="True"/>
<input variable="name"/>
<declare name="address" type="String" array="False" size=""/>
<output expression=""enter your address"" newline="True"/>
<input variable="address"/>
<declare name="bloodgroup" type="String" array="False" size=""/>
<output expression=""what is your bloood group"" newline="True"/>
<input variable="bloodgroup"/>
<declare name="phonenumber" type="Integer" array="False" size=""/>
<output expression=""give me your phonenumber daaaaa!"" newline="True"/>
<input variable="phonenumber"/>
<declare name="department" type="String" array="False" size=""/>
<output expression=""in which department are u assigned in?"" newline="True"/>
<input variable="department"/>
<declare name="semester" type="Integer" array="False" size=""/>
<output expression=""in which semester are u in currently"" newline="True"/>
<input variable="semester"/>
<declare name="cybersubjectcode" type="String" array="False" size=""/>
<output expression=""write your subject code for cyber security psat"" newline="True"/>
<input variable="cybersubjectcode"/>
<declare name="physicssubjectcode" type="String" array="False" size=""/>
<output expression=""write your physics subject code"" newline="True"/>
<input variable="physicssubjectcode"/>
<declare name="culturalsubjectcode" type="String" array="False" size=""/>
<output expression=""write your cultural education subject code"" newline="True"/>
<input variable="culturalsubjectcode"/>
<declare name="cybermarks" type="Real" array="False" size=""/>
<output expression=""what are your cyber amrks in periodical 1"" newline="True"/>
<input variable="cybermarks"/>
<declare name="phymarks" type="Real" array="False" size=""/>
<output expression=""what are your physics marks in periodical 1"" newline="True"/>
<input variable="phymarks"/>
<declare name="culturalmarks" type="Real" array="False" size=""/>
<output expression=""write down your marks in cultural educatio in periodical 1"" newline="True"/>
<input variable="culturalmarks"/>
<declare name="total" type="Real" array="False" size=""/>
<comment text="TOTAL IS CALUCUALTED "/>
<assign variable="total" expression="cybermarks+phymarks+culturalmarks"/>
<output expression=""the total marks in your periodical 1 are " & total" newline="True"/>
<declare name="average" type="Integer" array="False" size=""/>
<comment text="AVERAGE CALUCULATED"/>
<assign variable="average" expression="(cybermarks+phymarks+culturalmarks)/3"/>
<output expression=""the average of your marks in periodical 1 is " & average" newline="True"/>
<output expression=""your name is " & name & "your total marks are " & total & "your average is " & average" newline="True"/>
</body>
</function>
</flowgorithm>