Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Step0:
- * 1. Method "m"
- */
- import java.util.*;
- public class Assignment2 {
- public static void main(String[] args) {
- //Create Scanner Object
- Scanner input = new Scanner(System.in);
- //Accept Input for Number of rows then columns
- int rowVal = input.nextInt();
- int colVal = input.nextInt();
- double inpData[][]= new double[rowVal][colVal];
- //Accept double inputs into Array
- for(int i=0; i<rowVal;i++) {
- for(int j=0; j<colVal;j++) {
- inpData[i][j] = input.nextDouble();
- }
- }
- //Invoke Method and Iterate Through Rows
- for(int k=0;k<rowVal;k++){
- System.out.println(columnMin[]);
- }
- //Close Scanner
- input.close();
- }
- public static double columnMin(double[][] m, int columnIndex){
- for(int m=0;;m++) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement