Ask Question
29 October, 00:36

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

+4
Answers (1)
  1. 29 October, 01:24
    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?
Find an answer to your question ✅ “What kinds of circumstances would lead you to writing a function versus using a loop? ...” in 📘 Business if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers