Cody Biggs

Cody Biggs

  • NA
  • 2
  • 838

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

Mar 15 2018 2:43 PM
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)