Thread: A program that uses repetition control Structure to solve Organizational problems.

  1. #1
    Registered User
    Join Date
    Aug 2020
    Posts
    1

    A program that uses repetition control Structure to solve Organizational problems.

    What Is Are Examples of A programs that can be Written with C which "use repetition control Structure to solve Organizational problems" . I'm having difficulty understanding this. Can anyone please help explain and Give Examples. It would be very much Appreciated. Thank you.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Where did you encounter this phrase in the first place? Surely the author provided some context. "Repetition control structure" surely means some kind of loop, but "organizational problems" sounds like corporate speak or academic language so vague it could very well refer to "organising" objects into an array and looping over the array to solve the "problem" of accessing the objects in sequence.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    505
    As laserlight says, it's hard to know exactly what is intended by the question. Do "organizational problems" refer to problems in organising data, or problems faced by organisations of humans? If the former, pretty much any C program will contain arrays, the most basic type of data organisation, and typically you iterate over them with for loops. The other important basic structure is the tree. Usually these are binary trees because any non-binary tree can be converted to a binary tree by labelling the pointers "child" and "sibling" rather than "left child" and "right child". You then start at the top and recurse down to apply an operation to every node of the tree.

    If the latter, it's really impossible to answer. You'd need to know more about the organisations and their problems. Certainly the organisations will have some problems, like paying their employees, which can be solved with computer programs that have repeition control structures, such as loop that iterates over an array of employees and pays them. But that observation is too broad and trivially true to be of much use.
    I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
    Visit my website for lots of associated C programming resources.
    https://github.com/MalcolmMcLean


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with Repetition/Switch program
    By Kayla Hoyte in forum C Programming
    Replies: 11
    Last Post: 11-13-2017, 07:00 PM
  2. Replies: 2
    Last Post: 10-19-2014, 04:06 AM
  3. Repetition structure not working?!?
    By jusfry01 in forum C Programming
    Replies: 8
    Last Post: 06-02-2010, 06:58 PM
  4. structure problems in windows program.
    By Bajanine in forum Windows Programming
    Replies: 3
    Last Post: 04-19-2004, 06:18 PM
  5. Controlling Repetition in a Structure
    By Silence in forum C Programming
    Replies: 2
    Last Post: 08-23-2002, 05:35 PM

Tags for this Thread