Thread: Mathematics program - need help

  1. #1
    Registered User
    Join Date
    Dec 2011

    Mathematics program - need help

    Hey guys!
    I've just started programming and I want to be able to write a program which will be able to find all solutions to equations like the following:
    a+b+c+d=22. where a, b, c & d are positive integers<17
    Im not too sure how to start off etc. Would someone be able to help me???

  2. #2
    Registered User
    Join Date
    Jun 2005
    Look up loops.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  3. #3
    casual coder spaghetticode's Avatar
    Join Date
    Jan 2011
    Hesse, Germany
    I'm sure somebody would be able to help you if you asked a specific questions. This is more like, "I've just started engineering and I want to be able to build a car engine like the following: (some random specification). Would someone be able to help me?"

    What answer to that would you expect?
    Hardware: Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 | Acer Aspire V3-771G
    OS: Windows 10 Home

  4. #4
    Registered User
    Join Date
    Apr 2006
    Start by getting a good book on c++.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mathematics in Programming
    By silk.odyssey in forum A Brief History of
    Replies: 15
    Last Post: 02-23-2006, 07:29 PM
  2. C++ mathematics????
    By strickey in forum C++ Programming
    Replies: 4
    Last Post: 02-07-2005, 11:20 AM
  3. Highschool mathematics
    By Panopticon in forum A Brief History of
    Replies: 6
    Last Post: 06-09-2003, 12:52 AM
  4. difficult(4 me) mathematics program
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-28-2002, 10:41 AM
  5. mathematics
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 11-25-2001, 11:32 AM
Website Security Test