Differentiate between for loop and a while loop? What are it uses?

 Differentiate between for loop and a while loop? What are it uses?


For executing a set of statements fixed number of times we use for loop while when the number of iterations to be performed is not known in advance we use while loop.

Comments

Popular posts from this blog

What is JAD and how are users involved? What are advantages and disadvantages of JAD?

JAD Advantages and Disadvantages

What are the three dimensions to business problems? Give an example of each.