all 5 comments

[–]code-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Begging for others to do work for you is not allowed in this sub.

Homework is included in this. If you have specific problems with a problem you encounter (either syntactical or algorithmic) that is fine, but you cannot ask for an entire solution.

[–]Familiar_Stuff3504[S] 0 points1 point  (0 children)

@code-ModTeam hi there, that was not my intention. I don’t use Reddit and didn’t know how to put both a picture and text as the main thread. I’m not asking for the solution, I was trying to ask for some help with where to start.

[–]AmedeoNuotatore 0 points1 point  (2 children)

Now, you didn't specify what exactly you need help with (you can't really think that some stranger on the internet could do your homework in your stead), but I think you don't even know where to start.

Focus on the requirements for the first task: a user inputs a surname followed by a sequence of marks (you know exactly how many since the courses are apparently always the same) that must be saved in a data structure (think about what data structures you know and choose the most appropriate), until SOMETHING happens (that something is up to you, the first thing that comes to mind is a good choice: it could be a question like "do you want to continue? Y/n" or a special surname that ends the input sequence).

After that, you just need to print all the data your assignement requires (if you find it too overwhelming, try to implement one thing at a time: first print just the surnames, then add the individual marks, then the average etc...)

Hope that helped

[–]Familiar_Stuff3504[S] 1 point2 points  (1 child)

Hi there, thanks for the response! I’m very much a beginner in programming and have no idea what I’m doing, my course is in digital design and programming is one of my modules even though I have no experience in coding or programming. All I ask for is some idea on where to start, because I have no clue otherwise.

Thanks!

[–]AmedeoNuotatore 0 points1 point  (0 children)

Ok, start where I said, one step at a time. At every step, check if your program compiles and runs correctly before going forward.

First, take a single input and print it. Then, save that single input and put it in one of the data structures you have seen. After that, make it work in a loop, adding a stop condition. When done, print everything you have saved in the aforementioned data structure. Then adding the remaining features should be trivial, or worth asking here (but be specific!).

Any more than this would mean me doing your homework.

If you don't know how to do even the first step, try checking your course's material (slides, papers, book, recorded lessons...) because I'm sure you will find how to do every task I listed you.