Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Determine the input size for each and justify your answerJAVA DONT NEED PROGRAM,

ID: 2247230 • Letter: D

Question

Determine the input size for each and justify your answerJAVA DONT NEED PROGRAM, ONLY NEED THE INPUT SIZE AND PROVE IT

//determines average of given 4 integers

1. average(int n1, int n2, int n3, int n4)//determines a and returns average of given 4 integers

2. match(String s, String t) //prints all the strings t that appears in given string s as substring

3. gcd(int n, int m) //determines the gratest common divisor of integer m and integer

4. merge(int a[], int b[]) ////merging two sorted array

5. Sort(int a[])   //sort integer array a

6. shortestPath(graph G, int n, int m)   //finds the shortest path from vertex n to vertex m

7. multiplication( matrix A, Matrix B) //multiplays n x k matrix A with k x m matrix B

Explanation / Answer

1.

Explanation:

The size of the input parameters per the java is as follows:

2.

Explanation:

3.

Explanation:

4.

Explanation:

5.

Explanation:

6.

Explanation:

7.

Explanation:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote