Programming Assignment 2
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.
preffered in Java using Eclipse IDE
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.