Java program to accept a 2D matrix of size 'MxM' and check whether it is Symmetric or not. [ISC Practical 2014]

Read More »# Array Related Programs

## Java program to print a variation of Circular (Spiral) Matrix

Java program to fill a square matrix of size 'n*n" in a spiral fashion (from the inside) with natural numbers from 1 to n*n

Read More »## Java program to fill a 2-D array with Prime numbers

Java program to fill a 2-D array with the first 'r*c' prime numbers, where 'r' is the number of rows and 'c' is the number of columns.

Read More »## Java Program to print Boundary Elements of a 2D Array

Java program to input a 2-D array of size 'r*c' and print its boundary (border) elements.

Read More »## Java Program to Print Magic Square Matrix

Java Program to print a Magic Square Matrix of size 'n*n'

Read More »## Java Program to print Circular (Spiral) Matrix

Java program to fill a square matrix of size 'n*n" in a circular fashion (clockwise) with natural numbers from 1 to n*n

Read More »## How to Sort a Two Dimensional (2D) Array

This short article will cover few simple but smart steps which we can use to sort a Two Dimensional (2D) array

Read More »## Pendulum Arrangement of a list of Integers in an Array

Program to input a set of integers in an Array and arranges them in Pendulum Fashion

Read More »## [Question 10] ISC 2013 (Theory) Paper Solved

A class Matrix contains a two dimensional integer array of order [m x n]. The maximum value possible for ‘m’ and ‘n’ is 25. Design a class to find the difference of the matrices.

Read More »## Program for Generating Lucky Numbers (ISC 2001) – [Method 1]

This is the Java program for generating the Lucky Numbers within a given range. This is the 1st method, and it uses only one single dimensional array to generate the Lucky Numbers. Consider the sequence of natural numbers. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Removing every second number produces the sequences 1, 3, 5, 7, 9 Removing every third number produces the sequences 1, 3, 7,9 Removing every fourth number produces the sequences 1, 3, 7 Hence, The Lucky numbers less than 10 are: 1, 3, 7

Read More »## Program for displaying the Denominations of an Amount

Java program to accept the amount from the user and display its break-up in descending order of denomination. (i.e. preference should be given to the highest denomination available) along with the total number of notes.

Read More »## Program on Decimal to Roman Number Conversion [Method 2]

This is the Second Method of Converting a Decimal Number entered by the user into its Roman Equivalent. Kindly read Method 1 also. [Note: The number entered should be within the Range 1-3999]

Read More »