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

## 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 »## Program to find the LCM of two numbers [Method 2]

This is Method 2 of finding the LCM of two given numbers and is a better way of finding the LCM compared to Method 1. It is better because, the number of times the for loop executes is reduced drastically.

Read More »## Program to find the LCM of two numbers [Method 1]

This is Method 1 of finding the L.C.M. of two numbers, in which we have tried to find the LCM using the easiest possible mathematical concepts.

Read More »## Swapping two numbers without using third variable [Method 2]

This is the Java programming code written in BlueJ which swaps the values of two numbers without using any third variable. This is the second method in which we have used the concept of simple mathematical operations including addition and subtraction.

Read More »## Swapping two numbers without using third variable [Method 1]

This is the Java programming code written in BlueJ which swaps the values of two numbers without using any third variable. This is the first method in which we have used the concept of Bitwise XOR operator which is indicated by a caret ( ^ ).

Read More »