The program must read a number for the money that i have (this is okay ) after it read a number with quantity of numbers that will read the program (and this is okay ) the question is : how can i sum 2 of the number that i insert to the program and must be equal with the money i have in the begin ! how can i do this ? i also want to know in what position is in the program .
e.x
100
3
5 75 25
Can anyone help me please ?