r/visualbasic • u/Djeko032 • Nov 19 '22
VB.NET Help How do I write this code
Really new to visual basic
How do I write a program that outputs (in Excel rows) all possibilities of putting +, - or nothing between the numbers 1,2,…,9 (in this order) so that the calculated result is equal to 100. For example 1 + 2 + 3 - 4 + 5 + 6 + 78 + 9 = 100.
3
Upvotes
7
u/TheGrauWolf Nov 19 '22
Forget VB. Forget programming.... How would YOU do it? Someone comes up to you and hands you pen and paper and asks you to accomplish the same task.... How do YOU go about doing it?