Explore BrainMass

Endless loop: utility, ending the loop

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

Sometimes, programmer will intentionally create an endless loop, can you think of an example why? When programmer intentionally creates an endless loop, how will he end the loop?

© BrainMass Inc. brainmass.com March 21, 2019, 6:07 pm ad1c9bdddf

Solution Preview

One example situation where a programmer will intentionally create an endless loop is, where data is read from an attached device say a temperature sensor, and is dispatched to display after processing if and as needed. Notionally loop could look ...

Solution Summary

It considers example situation where program is interacting with attached hardware devices.