Hi,
This is my first assignment in my C programming course and I feel completely lost, the only thing I know is that a semicolon ends a line of text.
The assignment is to debug what the professor gave us, he also gave us a program that shows what it should do.
There are errors that prevent compiling and errors that cause the program to run incorrectly.
What i'm working on : Gyazo - 5b88d914f5e14a02a9c826ebd7ba3699.png
What it should do: Gyazo - 04b396e6b945c612232a3c3d144cfd56.png
Any help is greatly apreciated!