Ask Question
22 April, 03:54

What kinds of circumstances would lead you to writing a function versus using a loop?

+1
Answers (1)
  1. 22 April, 06:53
    0
    The idea is that the main program should be more like pseudocode where someone who wasn't a programmer could probably understand it because it didn't contain any of the details.

    Simplified example:

    Program:

    ... GetUserInput ()

    ... ProcessUserInput ()

    ... DisplayResults ()

    EndProgram.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What kinds of circumstances would lead you to writing a function versus using a loop? ...” in 📙 Business if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers