Create a java that asks the User which laboratory exercise to perform. consider the following specifications:
Sample output
java program collection- <full name>
a. Hello: ask the name of the user.
b. Array: Input elements and search for a specific key and prints a message.
c. MagicSquare: Displays [7][7] magic squaare.
d. Bubble Sort: Alphabetically sorts 20 employees using bubble sort.
ata
e. Selection Sort: Alphabetically sorts 20 employees using Selection sort.
f. Insertion Sort: Alphabetically sorts 20 employees using Insertion sort.
g. Recursion: Run the factorial or the triangle application
h. Merge Sort: Performs the merge sort of the triangle application.
i. Stacks_1: Perform reversal of string.
j. Stacks_2: Perform infix notation or postfix notation.
Procedure
Create a simple program that asks a user to input a string and reverses the string..
The program should be able to print how the string is reversesd and display the reversed string.
2
Create a program that asks a user to choose hich conversion teh program should perform: infix notation to postfix notataion and vice-versa.
The program then asks for an input of the choosen conversion to perform.
There is no need to display the process of conversion to perform..
The program should simply display the converted notation.