Search:

Type: Posts; User: Brt93yoda

Search: Search took 0.07 seconds.

  1. Re: Help with a beginner's java assignment: Survey results

    You're very welcome. :)
  2. Re: Help with a beginner's java assignment: Survey results

    I've never used CSV, but I searched to how export data to a CSV file in Java. this link looks promising: http://www.mkyong.com/java/how-to-export-data-to-csv-file-java/
  3. Re: Help with a beginner's java assignment: Survey results

    I'm not exactly sure what you mean, but it sounds possible. Can you show your current code? I'll read through it and see what's wrong.

    when ever compare strings you have to use the equal method.
    ...
  4. Re: Help with a beginner's java assignment: Survey results

    My change in my last post worked perfectly. I added the changes and added some prints for debuging.

    Here is the updated code

    import java.awt.*;
    import java.io.*;
    import java.util.*;
    import...
  5. Re: Help with a beginner's java assignment: Survey results

    how about this.


    ArrayList<String[]> userSurveyData = new ArrayList<String[]>();
    String[] userTempSurveyData = new String[10];

    while(scanner.hasNextLine()){ //keeps...
  6. Re: Help with a beginner's java assignment: Survey results

    I'm sorry about all of the errors. I was at the campus and I didn't have an IDE OR a compiler at hand. I had to write it all in the forum chat box. I'm going to fix all of the bugs and add more...
  7. Re: Help with a beginner's java assignment: Survey results

    Ok, here we go! (keep in mind that you might have to do further editing, this is just so you get the point)


    int userCount = 0;
    String userSurveryData = new String[3][10]; ...
  8. Re: Help with a beginner's java assignment: Survey results

    Use a multi-dimension string array to hold the users data


    String userSurveryData = new String[3][10];
    //Makes a new multi-dimensional String array that allows for 3 users, and 10 answers for...
Results 1 to 8 of 8