I have a assignment :( Help me

SouthBOxx
SouthBOxx
Write a program that outputs all possibilities to put + or - or nothing between the numbers 1,2,…,9 (in this order) such that the result is 100. For example 1 + 2 + 3 - 4 + 5 + 6 + 78 + 9 = 100.

Comments

  • David
    David
    Keeping Tom Happy Posts: 12,956
    What was that programming homework website?
  • steveb
    steveb
    BitterHusk Original™ Järvenpää FinlandPosts: 24,094
    You mean domyhomeworkforme.org?
Sign In or Register to comment.
© Copyright 2003 - 2016 - DT by Kooc Media