Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Se 1302-Practical Test 1 (B) Student name/Signature: Panther Number: 002129 ost * signout Time:- Write a program, YourlastName Test18.java: In main method: Create 2-D array,

image text in transcribed
Se 1302-Practical Test 1 (B) Student name/Signature: Panther Number: 002129 ost * signout Time:- Write a program, YourlastName Test18.java: In main method: Create 2-D array, say m: . Assuming the last digit of your panther number is N, set N+5, as the row size of array m Ask the user to input column size of array m from the keyboard (use scanner) Fill all array elements as double numbers in the range of (5.0, 15.0) by using of Random object Create another 2-D array, say doublelIm3-((1,1,1,(2,5,6) Pass the above array m and m3, to call the following methods MinCol(m) MinCol(m3) System.out.printin ("the average of array m is: returnAvg4(m) System.out.printin ("the average of array m3 is: "returnAvg4(m3) Print out the smallest column sum, and the average of array m and m3 In minCol(double[i[] array), find and print the smallest column sum in the Array In returnAvg4(double(I) array) method, find the average of all elements in first four rows in the array and return the average value of the array Principles of Computer Programming

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions