What is "for"

It is a repeat loop used to iterate over matrices, vectors or to another end that basically has three components: start, stop condition and step, it is usually possible to omit some of these components.

Example of syntax:

for (expr_inicio; expr_fim; expr_iteracao){

}