TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 20.06.27.
17818
post-template-default,single,single-post,postid-17818,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Markham Saturday 14:00 Java Homework 20.06.27.

30 Jun Markham Saturday 14:00 Java Homework 20.06.27.

Question:
Use the classes we created in the previous class, write code to create an average stack, the average stack should contain the average of all the numbers in the stack including the top number.

This is similar to MinMaxStack, but instead of a minimum and maximum number we just want to get the average of all the numbers in the stack.

No Comments

Sorry, the comment form is closed at this time.