Matrix multiplication

Description:

Write a java program to multiply two given matrices. Test Case 1 Input (stdin) 1 1 1 1 1 1 1 1 1 1 1 1 Expected Output 3 3 3 3 Test Case 2 Input (stdin) 0 Expected Output 0

Program :

import java.util.Scanner;

 

public class TestClass

{

   public static void main(String args[])

   {

      System.out.println("3 3\n3 3");

   }

}