Why do you need to use a looping command to measure changes in sound while a program is running?
Pls. It is super urgent!!!!
Share
Why do you need to use a looping command to measure changes in sound while a program is running?
Pls. It is super urgent!!!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
You could take a couple looks without a loop, but when you say, "while a program is running" then what is keeping it running? Generally, it means it's in a loop, or waiting.
When it's waiting, there doesn't need to be a loop IN the program, but the operating system is looping. So, it's an indirect looping command. But that's not relevant since there will likely be an explicit loop.
I assume this is a homework question -- you're not asking, "Why can't I remove the loop from my program?"