Write a menu-driven program which should loop the menu


You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible while still following the instructions. The output should look like the sample execution at the end of the problem.

Write a menu-driven program which should loop the menu continuously until the user chooses to exit the program. The menu should have the following options:

1. Display Prime Palindromes

2. Display Mirrored Primes

3. Exit Program

Option 1 Prime Palindromes: A prime palindrome is a prime number that is also a palindrome. Example: 131 is a prime number and also a palindrome. When the user chooses Option 1, you should ask them how many prime palindromes to display (n), then display the first n prime palindromes, with 10 numbers per line separated by a single space.

Requirements:

To get credit for this assignment you must use a minimum of 5 different methods other than main. In reality you will more than likely need more, but 5 is the minimum.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a menu-driven program which should loop the menu
Reference No:- TGS02873683

Expected delivery within 24 Hours