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 »# Array Related Programs

## 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 »## Program on Decimal to Roman Number Conversion [Method 1]

This is the First method of finding the Roman equivalent of any Decimal number entered by the user. [The number entered should be within the Range 1-3999]

Read More »