Page 204 - AI Ver 1.0 Class 10
P. 204

Let us understand the flow of while loop with the help of a flowchart.

                                                    Enter the while loop





                                                           Test       False
                                                        Condition

                                                             True




                                                        while loop         Exit
                                                          body          while loop

              Some examples of while loop are given below.






























































                        202   Touchpad Artificial Intelligence-X
   199   200   201   202   203   204   205   206   207   208   209