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:
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.