Or simply using the printf() method
System.out.printf("%s %s $%.02d", Customer, movieCode, cost);
Type: Posts; User: Parranoia
Or simply using the printf() method
System.out.printf("%s %s $%.02d", Customer, movieCode, cost);
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;