Customer.java - Assignment Arizona State Name StudentID...

This preview shows page 1 out of 1 page.

// Assignment #: 5 // Arizona State University - CSE205 // Name: Your name // StudentID: Your id // Lecture: Your lecture time (for instance, MWF 10:40am) // Description: The Assignment 5 class displays a menu of choices // (add a member or non-member customer, // compute their payment amount, count certain students, // list students, quit, display menu) to a user. // Then it performs the chosen task. It will keep asking a user to // enter the next choice until the choice of 'Q' (Quit) is // entered. import java.io.*; //to use InputStreamReader and BufferedReader import java.util.*; //to use ArrayList import java.text.NumberFormat; public abstract class Customer{ protected String firstName; protected String lastName; protected String studentID; protected double purchaseAmount; protected int purchaseYear; protected int purchaseMonth; protected int purchaseDate; protected double paymentAmount;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture