* Description of the class using as many lines as needed * with
between paragraphs. Including descriptions of the * input required and output generated. * * @author * @version */ public class Project2 { COP3538 Project 2 – Stacks and Priority Queues Liu University of North Florida 3 Example: COP3538 Project 2 Instructor: Xudong Liu Stacks and Priority Queues Enter the file name: States2.csv There were 22 state records put on the stack. Stack Contents: State Name Capital City State Abbr State Population Region US House Seats ------------------------------------------------------------------------------------------------------- Wyoming Cheyenne WY 582,658 West 1 West Virginia Charleston WV 1,805,832 Middle Atlantic 3 Washington D.C. Washington D.C. DC 703,608 Middle Atlantic 0 . . . South Pacific Priority Queue Contents: State Name Capital City State Abbr State Population Region US House Seats ------------------------------------------------------------------------------------------------------- Guam Hagatna GU 165,718 South Pacific 0 American Samoa Pago Pago AS 55,679 South Pacific 0 . . . West Priority Queue Contents: State Name Capital City State Abbr State Population Region US House Seats ------------------------------------------------------------------------------------------------------- California Sacramento CA 38,332,521 West 53 Washington Olympia WA 6,971,406 West 10 . . . Middle Atlantic Priority Queue Contents: State Name Capital City State Abbr State Population Region US House Seats ------------------------------------------------------------------------------------------------------- New York Albany NY 19,542,209 Middle Atlantic 27 Pennsylvania Harrisburg PA 12,807,060 Middle Atlantic 18 . . . Stack Contents: State Name Capital City State Abbr State Population Region US House Seats ------------------------------------------------------------------------------------------------------- Washington D.C. Washington D.C. DC 703,608 Middle Atlantic 0 Delaware Dover
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here