How to print variables in C?
For this explanation we will need a little program #include <stdio.h> int main(){ int a=5; int b=9; int sum=a+b; printf("La suma es : %d...


Program in C
There are different ways of programming, different compilers and different languages too. We have studied the pseudocode by now, but now...
Make a program: functions and subroutines
Now that we know the basics of pseudocode, we are going to learn functions, this is a function: public class Sumar{ int a=10; int b=5;...


Two dimensional arrays
We already know arrays, let's imagine how can you save an array inside another array. It is something like this: You see the difference?...
Arrays exercise: order the elements inside an array in increasing order. Not so easy.
Now here is a more complex exercise: Let’s say we have an array A[] of size N=9 This is our array: A [0] [1] [2] [3] [4] [5] [6] ...
Algorithms, and example with arrays
Imagine you want to store data of the same type, or that is going to be used for the same purpose. Or maybe even used in the same...


Array inside a loop. Easy exercise.
We now know how to store different data inside one single variable (an array). First, remember the parts of the array. The size, index,...
Arrays, what is an array?
Definition of algorithm by sparknotes: " [...] is a data structure that is used collect multiple variables of the same data type together...


Trace an algorithm
There are a lot of types of algorithms as we saw on the last post. But, how is an algorithm in computer sciences? There are different...
What is an algorithm?
As an introduction it is important to know, what is an algorithm? If you search for a dictionary meaning, you would find this: "An...