Can someone help or maybe tutor me for an hour on discord?
Hi, i'm new to this website. I'm studying electronics engeneering and my C programming exam is tomorrow, i've been studying 10+ hours a day but i still don't get the grasp of it, even though this is the second time im taking this subject, since i failed it last semester. My professor gave us a sample test that he claims if we can solve it, we will ace the exam, it's about programming a matrix calculator including multiplication, division, adding and subtracting, but for this and the exam we can only use the functions seen in class (stdio library, structs, arrays, creating our own libraries). Since the pandemic forced the university to do all classes in online format, i don't know any classmates that can help me, and i don't know what else to do but to ask for someone to tutor me for an hour in a forum.
I'll describe the sample test, can't really give you a copy since it's in spanish (i'm pretty decent at speaking english so i don't think that will be a problem):
-Program must not have stdio functions in the main file, every function and variable must be in .c or .h external libraries.
-The variable types that you use are not to be evaluated, if it works, it's fine.
1)Program asks what operation you want to do.
2)Program asks for the first line of the first matrix, then the next one and so on until user enters $ character, then the same for the second matrix.
3)Program checks if the matrixes dimensions are compatible for the operation, if they are, the program calculates the result and prints it, then it closes. If they aren't program prints an error message and closes.
I'm currently striving to get past point 2 since i can't manage to get an entire line of the matrix from a single user input.
Of course every tip is welcome, thanks for reading.