Ask Question
11 July, 19:18

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

+4
Answers (1)
  1. 11 July, 19:47
    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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers