Search:

Type: Posts; User: CompScienceStudent1

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    231

    Access Method

    What is an access method? (example appreciated)
  2. Re: Frog jumping code (AP comp science help!)

    so if i change jumpsPossible in that line to jumpsPossible (0,s,"")
    this is the error:
    frog.java:18: 'void' type not allowed here
    System.out.println ("Freddie can get to the top of the staircase...
  3. Re: Frog jumping code (AP comp science help!)

    but its not a variable I'm trying to call the jumpsPossible method
  4. Re: Frog jumping code (AP comp science help!)

    but i wrote that o.o so confused x.x i did call the method
  5. Re: Frog jumping code (AP comp science help!)

    The method jumpsPossible is determining the number of possible combinations and the ways in which the frog can jump, so I am trying to print the results of that method in main. . .
  6. Re: Frog jumping code (AP comp science help!)

    No that is what should be the output
    when i try to compile i get an error:
    kulbir-sabharwals-imac:Raina kulbirsabharwal$ javac -classpath . frog.java
    frog.java:18: cannot find symbol
    symbol :...
  7. Re: Frog jumping code (AP comp science help!)

    the output should show (lets say the input is 5 stairs so. . .)
    Freddie the Frog will now jump 5 stairs to catch a fly!
    12345
    1245
    1345
    1235
    135
    145
    125
    2345
  8. Frog jumping code (AP comp science help!)

    My computer science teacher told my class to write a code where a frog jumps a staircase to eat a fly. The frog can only jump 3 stairs at once and the frog must jump any number of stairs input. The...
Results 1 to 8 of 8