diff --git a/Himanshuagnihotri.java b/Himanshuagnihotri.java new file mode 100644 index 0000000..5898ad2 --- /dev/null +++ b/Himanshuagnihotri.java @@ -0,0 +1,21 @@ +import java.io.*; +import java.util.*; +class Himanshu{ + public static void main(String args[]){ + Scanner sc=new Scanner(System.in); + int numofline,i; + ArrayListout_array = new ArrayList<>(); + String text=sc.nextLine(); + String tempstring[]=new String[100]; + numofline=Integer.parseInt(sc.nextLine()); + for(i=0;i