Search:

Type: Posts; User: newbie

Search: Search took 0.16 seconds.

  1. Replies
    4
    Views
    2,674

    Re: Fibonacci series

    If you read the API for Scanner, you'll notice a method named nextInt();
    Look it up, as It should be sufficient as to what you need.
    Scanner API
  2. Replies
    4
    Views
    2,674

    Re: Fibonacci series

    Can only use operators such as ==, >=, < on numeric types, and a Scanner object doesn't constitute a numeric type.
Results 1 to 2 of 2