diff --git a/JAVA/Maximum repeated Number b/JAVA/Maximum repeated Number new file mode 100644 index 0000000..7e56643 --- /dev/null +++ b/JAVA/Maximum repeated Number @@ -0,0 +1,38 @@ +import java.util.Scanner; + +public class Main{ + public static void main (String[] args) { + + int max=0,count=0,tmpcount=0,size; + + Scanner sc=new Scanner(System.in); + size=sc.nextInt(); + sc.nextLine(); + if(size<=0){ + System.exit(0); + } + int[] a=new int[size]; + for(int i=0;i=count){ + if(a[i]