PROGRAMMING 2

 In principle, programming revolves around how to send  commands in the simplest possible way to  computer.

 These orders are very simple questions.

 The simpler the questions, the better . In principle,  programming is about how to send commands in the simplest way possible to a computer.

These commands are very simple qu
estions, and the simpler questions is better.

-Examples of the above.

1-Selection (yes or no).





we have other types like.

Nested If


Else If

                                    ----------------------------------------------------------------

2-Iteration

It is the repetition of commands until a certain condition is achieved.


While Loop


For Loop

This makes the computer repeat the process and stop itself.

EX: The upper bound value of the range in the pseudocode ( 1 to 5 in the example below ) is inclusive so the final value of count that will be output is 5.


or it may be like



                By:Mohamed Mostafa mohamed-21100285


                                 


تعليقات

تعليقات