java hw 2 q s

what needs to be done in my community?
April 2, 2021
supply chain management homework questions 7 quick questions fast money for good work
April 2, 2021

java hw 2 q s

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:

  • Output the array in reverse order
  • outputs of the pairs which has the sum of 12
  • check if the number ( 8 ) available in the array

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].

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

Buy Custom Nursing Papers