Lucas Toledo

1

votes
1

answer
31

views

Logic in Change Conversion Program | indexOutOfRange [duplicate]

This question already has an answer here: What is an IndexOutOfRangeException / ArgumentOutOfRangeException and how do I fix it? 4 answers I'm working on a program for my C# class that is supposed to take an entered amount, as a double or not, and to find change in dollars, quarters, etc., I'm usin...
Lucas Toledo
3

votes
2

answer
519

views

Using while / do-while loops for array element setting

I'm having some trouble understanding how to use a while loop to get the same results as this for loop: for (int i=0; i
Lucas Toledo