Explore BrainMass
Share

Loops

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

"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.

© BrainMass Inc. brainmass.com October 25, 2018, 6:23 am ad1c9bdddf
https://brainmass.com/computer-science/programming-languages/457631

Solution Preview

The

do
{
loop-body
} while (condition)

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

while (condition)
{
loop-body
}

and

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

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.

$2.19
See Also This Related BrainMass Solution

Balancing Loop/ Reinforcing Loop

I am having problems understanding how to determine balancing feedback loop and a reinforcing feedback loop for Whole Foods Market. I don't understand how to explain the the Loop and the effect process of the loop and identifying the learning activities in each feedback loop that Whole Foods Market has already undertaken. Lastly, I need to identify the opportunities for organizational learning in each Feedback Loop and make a case that these are learning opportunities. Logically show how the feedback process provides an opportunity for the organization to learn and improve its performance at Whole Foods Market.

View Full Posting Details