Write a program that displays all the prime numbers less than 120 in decreasing order. Use the

Question:

Write a program that displays all the prime numbers less than 120 in decreasing order. Use the StackOfIntegers class to store the prime numbers (e.g., 2, 3, 5,... ) and retrieve and display them in reverse order.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: