1.11M Members

Statistics Calculator (dynamic arrays)

 
0
 

I am currently working in a Statistics Calculator which should display mean, standard deviation, median and mode. I have the graphical interface
Sin_título
This one has a text box where you get to write the list and by clicking the button it stores the fist value and goes to the next and that goes on until you finish and click on an other button to operate the list of values. My question is the following,

How can I change the size of the arrrage according to the list they are inputting to the array?

Attachments Sin_título.png 193.48KB
 
1
 

Use a List<T> rather than an array. It will dynamically change its size as needed, and you can treat it as (and convert it to) an array.

 
0
 

ohh thanks really :) i need to deliver this before date and i am in such a rush, thnaks

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: