What is Programming or Computer Programming? There are many explanations about it on the web. You can Google search it and you will end up getting tons of results.
To be different, here is how I define programming:
Programming is mostly Mathematics. It is an Algebra combined with Logic in which the output is shown on the screen.
So if you like Math, then continue reading this tutorial. If you at least understand the basics of Math like mathematical operations, signs, variables (remember the x and y in algebra) then you are ready to learn it as well.
Now, back to the definition. Remember the word problems in Algebra? You are given a problem that requires you to write your own solution and must give the correct answer. Step by step procedure is considered. Just like Algebra, Programming requires you to create your own set of solution then outputs the correct answer for every process. But take note, Programming often involves Simple Algebra in which you only need one variable at a time and doesn't have to be too complicated. However, there is an exemption. If you are going to develop a game, then it requires advanced Mathematics and Physics. Look at the example below.
John eats 4 slices of the cake everyday, the cake was divided into 12 by his mom. How many days will john finish eating the whole cake before his mom bring him a new one?
The way you solve it on a paper:
Let x be the days
x = 12 / 4
Answer:x = 3
Programming:
var x = 12 / 4;
print x
Output:3
Noticed something? Both solutions are the same except that we print our result (Output) in programming.
Now, the logic on the definition implies that you might have to answer the question differently. Remember, if A=B and B=C, then A=C. This means that no matter what solution you have as long as you arrive with the correct final answer then your program is correct.