Purchase Solution


Not what you're looking for?

Ask Custom Question

"The do while loop is enough to solve any problem that uses looping and no other repetition structure is required." Discuss this statement by giving examples.

Purchase this Solution

Solution Summary

Do-while loop on its own can not handle all the looping requirements but yes, if used in conjunction with if-statement, it can.

Solution Preview


} while (condition)

loop executes the loop body at least once because it checks for the condition later, while

while (condition)


for (initialization; condition; condition-related-variable(s)-updation)

Purchase this Solution

Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.