U - L - T - R - A r e a l i t y . info
The C programming language, despite its daunting appearance, was very much designed to be human-readable and writable. However, unlike a natural language, a programming language, like C, is fundamentally a way to describe mathematics, not abstract ideas. Of course, abstract ideas can be represented by mathematics; that's how video games exist at all, after all, but first and foremost the statements that a programming language expresses are those of numbers, if wrapped up in a form that somewhat appears at first glance to be English-like. All that we're doing here at the end of the day is addition and subtraction; even the other two basic operations, multiplication and division, are forms of addition -- multiplication is adding a number to itself n-many times, where n represents a variable, while division, similarly, is finding how many times a number x (standing in for any number) can be added to itself to reach a number y. Hopefully, this was simple enough that you're feeling somewhat offended, this is just to establish familiar ground.
In C, these operators are used as follows; addition: z = x + y; subtraction: z = x - y; multiplication: z = x * y; division: z = x / y. Notice how the operation is on the other side of the equals sign to what you'd expect, this is because the operator means is set to mean. You're assigning the value of the variable Z yourself based on the values and operation done to the variables X and Y. This is important to keep in mind when you're doing low-level mathematics, which you'll be doing more than you might think.
Now, we should probably address variables. Variables are, essentially, labels that you give to data -- whether that be numbers or text or other sorts of data. A variable like, say, PlayerHealth, is probably written as a number. The simplest way to write down a number like this is to declare it as an int(eger; that is, whole number). int PlayerHealth = n;. Take note of two things; one, you can manually assign a number that the program will automatically assume to be true. Two, the line ends with a semicolon. This character, ;, will tell the compiler that that's a complete statement -- it's like a period in English.
There are other types of variables, as well -- those are