Search:

Type: Posts; User: frodooftheshire

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    1,129

    Re: why is my while loop terminating?

    Ok your assumption was correct I want to do it in the method itself and what would be my return if it wasn't a formatted string that was my initial problem I didn't know exactly what to return in...
  2. Replies
    10
    Views
    1,129

    Re: why is my while loop terminating?

    Should it not print out all the lines when I call the simulateFlight method? Why does it require to be done over and over that's my problem.
  3. Replies
    10
    Views
    1,129

    Re: why is my while loop terminating?

    public class cannon
    {
    public static void main(String[]args)
    {
    cannonball one = new cannonball(100);

    System.out.println(one);
    one.simulateFlight();
    ...
  4. Replies
    10
    Views
    1,129

    why is my while loop terminating?

    Hey everyone so I am having the damndest time trying to find out why when I print out the string from the simulate flight method that it only prints out one line and doesn't go until height reaches...
Results 1 to 4 of 4