For this assignment you will use the Assignment6.java
and write your code where designated. There willbe three methods.
Problem #1
Write a method called “seeingThree” that takes a stack ofintegers as a parameter and replaces every value in the stack withtwo occurrences of that value. For example, suppose the stackstores these values:
bottom [3, 7, 1, 14, 9] top
Then the stack should store these values after the methodterminates:
bottom [3, 3, 3,7,7, 7, 1,1, 1, 14,14, 14,9, 9, 9] top
Notice that you must preserve the original order. In theoriginal list the 9 was at the top and would have
PayPal Gateway not configured
PayPal Gateway not configured