HackerRank solution for Students Marks Sum in C language. The key to solving this HackerRank problem is verifying if the index we are accessing while we are looping through our array of integers is even or odd. I am also using a ternary operator in C, in my solution.
All HackerRank solutions on GitHub (please leave a star): https://github.com/IsaacAsante/Hacker...
HackerRank's Students Marks Sum in C: https://www.hackerrank.com/challenges...