Qualification > Miscellaneous
Computer studies help HERE only !!
sarsam:
Good Night!!!! and best of luck!!!!
and teacher, i know u will score full marks!!!!!! Inshallah!!!!!
p.s./ ya even me i dont wanna this typa ques input output and processing!!!! uffffff..........
cactus_360:
lol................i meant q 11
unknown 101:
--- Quote from: cactus_360 on May 26, 2009, 08:58:01 pm ---i dare anyone to solve da algo 4 n1997!!!!!!!1
--- End quote ---
haahha ohh sh*t ... anywayz
Set Min= 100
Set Max= 0
Set total= 0
Repeat
Input mark
Case of
Mark lower than min, mark =min
Mark greater than max, mark=max
Add mark to total
Otherwise
Invalid mark
Add 1 to Count
End Case
Untill Count = 30
Average= total/30
Print Average
Print Min
Print Max
cactus_360:
gud..........but wrs da variable 4 counting 30 students.......
unknown 101:
--- Quote from: cactus_360 on May 26, 2009, 09:28:59 pm ---gud..........but wrs da variable 4 counting 30 students.......
--- End quote ---
Repeat
Input mark
Case of
Mark lower than min, mark =min
Mark greater than max, mark=max
Add mark to total
Otherwise
Invalid mark
End Case
Untill Count = 30
i have done a repeat loop, when i set count=0,, then at the bottom i wrote untill count =30 ( which are the 30 marks inputed)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version