Programming Assignment 2 due Saturday, Nov. 17, noon, 2012 The basic task is this: implement a stack of

Programming Assignment 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

due Saturday, Nov. 17, noon, 2012

The basic task is this: implement a stack of float values that has Θ (1)
worst case behavior for PUSH, POP, and MEAN, a function returning the mean of the values in the stack.

This stack should be wrapped in a user interface that asks the user to choose from POP, PUSH, MEAN or QUIT at each turn. If the user enters PUSH, the program should read a number from the keyboard. If the user tries POP or MEAN on an empty stack, the program should notify the user of the error, and again prompt the user to choose from POP, PUSH, MEAN or QUIT. To facilitate testing, please use exactly these commands.

 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

preffered in Java using Eclipse IDE

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER