Search:

Type: Posts; User: Parranoia

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,730

    Re: Program returning wrong values.

    Or simply using the printf() method


    System.out.printf("%s %s $%.02d", Customer, movieCode, cost);
  2. Replies
    5
    Views
    1,730

    Re: Program returning wrong values.

    Noticed one bit of code which you probably don't want to do


    public Viewer( String Customer, String moviecode)
    {

    this.Customer = this.Customer;

    this.moviecode = moviecode;
Results 1 to 2 of 2