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

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

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

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30


WHATSAPP CHAT: +1 (781) 253-4162


Click ORDER NOW..

order custom paper