![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||||||
|
Icon sizes: 256x256, 48x48, 32x32, 24x24, 20x20, 16x16 File formats: ICO, GIF, PNG, BMP ![]() ![]() ![]() ![]() Tags: cf card icon, chipscope icon, icons in party, avater icons, glitters iconsIf the condition is fulfilled, the instruction "1" if is not present will be fulfilled,That - the instruction "2". In spite of the fact that at the circuit there are two operations, One as the condition either is false will be fulfilled only, or is true. The third it is not given. Such circuit allows to solve tasks in which depending on the added circumstances it is required to make this or that Operation. There is no doubt that the number of tasks such is huge. Moreover, it is very difficult to think up really significant job which algorithm of performance would contain in itself simple direct following of commands. Even The primitive example taken from course mathematicians as you will see, cannot be solved without branching usage. So, it is necessary to calculate value of expression y=1/x. You know that the given function not always matters, That is not for all values of argument there is a value of result. Our task so to make algorithm that the performer has not risen at all in lockup, even at reception of zero as argument. To formulate it in a natural language not difficultly: . To receive value x. |2. If x=0 to inform that expression of value has no, differently - To calculate y as 1/x. Thus the algorithmic structure resulted above is used. It can be expressed simple words: If <???.> If the condition is satisfied That <operation 1> that to fulfil operation ? 1 Otherwise <operation 2> differently - to fulfil operation ? 2 All How it to write to Pascale? Yes in the same way, only in English. If statement format in language of Pascal: If <condition> ![]()
| Copyright © 2009-2022 Aha-Soft. All rights reserved. |
|