Programming Fundamentals table using switch or if statement :
A. refer to the table below:
Course Name Group Tutor Time Day

Fund 10 Ali 8-10 Sunday
Fund 20 Ali 1-3 Monday


Fund 30 Ahmed 10-12 Tuesday


Fund 40 Ahmed 2-4 Thursday


Fund 50 Ali 1-3 Wednesday

-A.Write a java program that creates one array for each column above. Name the arrays with the col
umn name.example(int[]group ={10,20,30,40,50}). insert the values of the arrays from the table
.above using a for loop and display them using for each loop

.hint: the repeated information insert them once in the array

B. Ask the user to choose a course name, group number, tutor, time and day. The program then has
to give the index number of each piece of information. If the information entered by the user is not
matching any of the given information the program should display a message that says (sorry we
can not find your choice ”).