This homework is for a friend of mine who tried hard but couldn’t do it.
can you please do it as well as explain stuff that would help her understand it.
Q1 Write a Java program that reads 6 integers from the user and do the following processes:
your program must display a menu to the user and get the choices from him/her until the user choose “exit“.
Q2 Write a Java program that takes two arrays a and b of length 5 storing int values, and returns the dot product of a and b. That is, it returns an array c of length n such that c[i]=a[i]*b[i].

WhatsApp us