Thread: help to sorting a perticular column in C program 2D array

  1. #1
    Registered User
    Join Date
    Jan 2019
    Posts
    1

    help to sorting a perticular column in C program 2D array

    In this 4th question I need to sort the average, can anyone help me to solve the situation
    help to sorting a perticular column in C program 2D array-20190105_133001-jpg

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,731
    What do you need help with? The logic is pretty straightforward.

    *) The average of each subject is the sum divided by the amount of marks summed
    *) The average of the class is the sum of all the averages, divided by their amount
    Devoted my life to programming...

  3. #3
    Registered User
    Join Date
    May 2016
    Posts
    104
    "Because I'm a geek, I"
    "Because I couldn't do any better, I"
    "Since women wouldn't have me, I"
    "Because I couldn't marry my sister, I"

    I feel like any of the above would go well with your signature GReaper. LMAO.
    Sorry, I couldn't help myself LOL. I'm kidding of course, don't get mad

  4. #4
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    745
    Quote Originally Posted by Dren View Post
    "Sorry, I couldn't help myself LOL. I'm kidding of course, don't get mad "
    Then don't post such a message in the first place. That is NOT what we are here for.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 11-11-2018, 07:31 PM
  2. problem with array sorting program
    By That2ndGuy in forum C Programming
    Replies: 4
    Last Post: 11-20-2015, 08:16 PM
  3. sorting a 2d array by column
    By antros48 in forum C Programming
    Replies: 4
    Last Post: 10-24-2013, 09:11 AM
  4. Reading a text file and sorting a column of numbers
    By txmusic in forum C Programming
    Replies: 9
    Last Post: 02-26-2012, 09:49 PM
  5. Can someone please explain this array sorting program?
    By Frankie15 in forum C Programming
    Replies: 4
    Last Post: 10-03-2011, 05:44 PM

Tags for this Thread