Search:

Type: Posts; User: Shambolic

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    1,885

    Re: annoying error.

    I think you just want currency to be a String i.e.


    String currency =UserInput.readString();
  2. Replies
    7
    Views
    1,885

    Re: annoying error.

    You are trying to create a variable called 'currency' which can hold an object of type Sterling, but it seems you haven't written a class called Sterling, hence the compiler error.
Results 1 to 2 of 2