From 5250c32bdfe17036ba2e0c22763708da03c5aaca Mon Sep 17 00:00:00 2001 From: Subhrajit2001 <84655089+Subhrajit2001@users.noreply.github.com> Date: Wed, 12 Oct 2022 18:48:26 +0530 Subject: [PATCH 1/2] ADDED merge in java --- coding_freshmen/JAVA/Subhrajit/merge.java.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 coding_freshmen/JAVA/Subhrajit/merge.java.txt diff --git a/coding_freshmen/JAVA/Subhrajit/merge.java.txt b/coding_freshmen/JAVA/Subhrajit/merge.java.txt new file mode 100644 index 0000000..7b2c5e6 --- /dev/null +++ b/coding_freshmen/JAVA/Subhrajit/merge.java.txt @@ -0,0 +1,29 @@ +import java.util.*; +public class merge +{public void main(String args[]) + {int n,i,j; + Scanner sc = new Scanner(System.in); + System.out.println("Enter number of row of array"); + n=sc.nextInt(); + int a[][]=new int[n][n]; + int b[][]=new int[n][n]; + int c[][]=new int[n][n]; + System.out.println("Enter elements of first array"); + for(i=0;i Date: Tue, 18 Oct 2022 21:57:48 +0530 Subject: [PATCH 2/2] Anagram --- coding_freshmen/JAVA/Subhrajit/Anagram.txt | 20 +++++++++++++++++++ .../Subhrajit/{merge.java.txt => merge.txt} | 0 2 files changed, 20 insertions(+) create mode 100644 coding_freshmen/JAVA/Subhrajit/Anagram.txt rename coding_freshmen/JAVA/Subhrajit/{merge.java.txt => merge.txt} (100%) diff --git a/coding_freshmen/JAVA/Subhrajit/Anagram.txt b/coding_freshmen/JAVA/Subhrajit/Anagram.txt new file mode 100644 index 0000000..30d4fb2 --- /dev/null +++ b/coding_freshmen/JAVA/Subhrajit/Anagram.txt @@ -0,0 +1,20 @@ +import java.util.*; +public class anagram +{public void main() + {Scanner sc = new Scanner(System.in); + String t,s; + int i,j,c=0; + System.out.println("Enter a String"); + s=sc.next(); + System.out.println("Enter another String"); + t=sc.next(); + for(i=0;is.length()) + System.out.println("True"); + else + System.out.println("False"); + } +} diff --git a/coding_freshmen/JAVA/Subhrajit/merge.java.txt b/coding_freshmen/JAVA/Subhrajit/merge.txt similarity index 100% rename from coding_freshmen/JAVA/Subhrajit/merge.java.txt rename to coding_freshmen/JAVA/Subhrajit/merge.txt