0
students in a class obtained various grades in an exam. write a pseudocode to find highest and lowest score
Pseudocode or Flowchart needed
5 Réponses
+ 2
Doesn't that sound like a school assignment 😉?
+ 1
basically this...🙃
https://www.sololearn.com/learn/661/
+ 1
For example you have a collection of grades, then you can write like this:
var grades = array with grades;
var max = some lowest number;
for grades as grade {
if grade > max;
max = grade;
}
Finally you get max grade.
0
but can there be any equational function to solving that problem like that of finding an average? @Timur
- 1
yes it is but i need an in-depth understanding cos I'm new to programming