Back to the table of contents

Operators of control. Procedural programming

11.1 Procedures and functions

Mathpar system lets you create your procedures and functions. To do this, use the command procedure. After the command procedure, you must specify the name of the procedure, and then in the curly brackets describes the procedure itself.

No result yet

11.2 Operators of branching and looping

You can use the operators of branching and looping:

if () { } else { } — the operator of branching;

while () { } — cycle operator with precondition;

for ( ; ; ) { } — cycle operator with the counter.

No result yet

No result yet

No result yet
Back to the table of contents