- 3

find multilpe possibilties

If i take 3 product values i.e pen=20,pencil=10 and eraser=5 and total amount=100 so i want multiple possibilties as a output i.e output should be likewise pen pencil eraser 5 0 0 4 2 0 3 4 0 2 6 0 1 8 0 0 10 0 0 9 2 0 8 4 0 7 6 0 6 8 0 5 10 0 4 12 0 3 14 0 2 16 0 1 18 0 0 20

21st Jun 2017, 6:35 AM
Tushar Kele
Tushar Kele - avatar
2 ответов
+ 2
What's with the tags? Instead of tagging people, how about mentioning the important things? Such as "what programming language are you using", and "how is the data stored"? Oh, and don't expect other people to write the code for you... That's not what SOLOLearn is for.... (emphasis on the SOLO ;) ).
21st Jun 2017, 6:38 AM
Bogdan Sass
Bogdan Sass - avatar
0
i want this program in php language and i just want the concept not the program?
21st Jun 2017, 7:01 AM
Tushar Kele
Tushar Kele - avatar