Latest Posts:

c++ loop

Here might be a circumstance when you have to execute a square of code a few quantities of times. As a rule, statements are executed successively:
The first statement in a capacity is executed to start with, trailed by the second, et cetera.
Programming language gives different control structures that take into account more muddled execution ways.

A circle explanation enables us to execute an announcement or gathering of statements
numerous circumstances and the accompanying is the general type of a circle proclamation in the majority of The programming language:

A program is usually not limited to a linear sequence of instructions. During its process, it may bifurcate, repeat
code or take decisions. For that purpose, C++ provides control structures that serve to specify what has to be done
by our program, when and under which circumstances.
With the introduction of control structures, we are going to have to introduce a new concept: the compound statement
or block. A block is a group of statements which are separated by semicolons (;) like all C++
statements, but grouped together in a block enclosed in braces: { }:


{statement1; statement2; statement3; }
Share on Google Plus

About Lucky Ibitubo

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Powered by Blogger.