Hello guys,

I'm a C beginner, trying to teach myself the language, but I'm currently struggling with a code.


I was wondering if I could get some assistance.

* I want the code to ask for a number of students.
* The number of students will represent the size of the loop that I need.
* During the loop, the console will ask the user for a name and a number of tests.
* It should get the name and number of test.
* Then, a loop should come in and add up the sum of all test by that student and compute the average.
* The console should output the name of the student and average.


I have all the logic down I'm just having trouble translating the code from VB.NET. The syntax is completely different and I'm still learning the basics of C.

I was wondering if I could obtain some help writing that code.

Thanks in advance.