From e2943bff2daffe0e4a83b2b5c30ccae5df12dad5 Mon Sep 17 00:00:00 2001 From: Omkar Gajanan Salunke <66988285+omkar046@users.noreply.github.com> Date: Fri, 21 Oct 2022 02:25:34 +0530 Subject: [PATCH] Create 2D Array Addition --- 2D Array Addition | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 2D Array Addition diff --git a/2D Array Addition b/2D Array Addition new file mode 100644 index 0000000..4e2824e --- /dev/null +++ b/2D Array Addition @@ -0,0 +1,29 @@ +import java.util.Scanner; + +public class Arry2DAdd { + + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + System.out.println("Enter the size of array:"); + int size=sc.nextInt(); + int num1[][]=new int[size][size]; + int num2[][]=new int[size][size]; + System.out.println("Enter numbers in array:"); + for(int i=0;i