2
Answers

How do I add double variables to a array of doubles?

Cody Biggs

Cody Biggs

6y
861
1
So I have a method Deposit that takes an argument which is the amount the user wants to deposit. All I want to do is add that deposit variable to the array of doubles
 
double[] transaction = new double[50];
public void Deposit(double dep)
{
//add dep to to transaction
}
Answers (2)