I have a CSV file with different columns of data.
Example:
100, 0.1, 0.5
200, 0.1, 0.1
300, 0.2, 0.5
etc
I want to store the first column into an array, the second column into its own array and so on so that I can use them for math equations.
import.java.util.Scanner;
import java.io.File;
public class Example
{
public static void main(String[] args) throws Exception
{
Scanner s = new Scanner(new File("C://java//data.txt"));
}
}
I'm pretty lost up until this point.