Search:

Type: Posts; User: anmason

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,132

    Re: Print to txt file

    Should that if statement be included in the while loop? The reason I'm asking is the tuneInstrument has to be a boolean field. Thus, I have this code for that method.



    public boolean...
  2. Replies
    5
    Views
    1,132

    Re: Print to txt file

    So with the while loop, instead of printing, cello1 is tuned. cello1.tuneInstrument = true, the text file will have only the value of true.



    int i = 1;
    while (i < 11) {...
  3. Replies
    5
    Views
    1,132

    Print to txt file

    My current code will generate a txt file that includes "Instrument [i] : " and then the boolean values (true or false) of the four methods that I've created. However, I want the text file to include...
Results 1 to 3 of 3