• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ranking Students and Get Positions

#1
Good day sirs and mas.

Please. How can one rank students that have scores in various subjects.

Student A. English = 70, Maths= 87, History=57

Student B. English = 60, Maths= 67, History=58

Student C. English = 76, Maths= 88, History=56

Student D. English = 70, Maths= 57, History=97.

I want to  get student the one with the highest average and the average in percentage using codeigniter.

Help me out please.

Thanks
Reply

#2
Doing math operations in CodeIgniter is just doing them in PHP:

http://php.net/manual/en/ref.math.php
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.