mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
docs: update the whole repository
* fix some bugs * delete duplicate files * format code
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
package Conversions;
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
/**
|
||||
* This class converts a Decimal number to a Binary number
|
||||
*
|
||||
* @author Unknown
|
||||
*
|
||||
* @author Unknown
|
||||
*/
|
||||
class DecimalToBinary {
|
||||
|
||||
/**
|
||||
* Main Method
|
||||
*
|
||||
*
|
||||
* @param args Command Line Arguments
|
||||
*/
|
||||
public static void main(String args[]) {
|
||||
@@ -19,7 +20,7 @@ class DecimalToBinary {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method converts a decimal number
|
||||
* This method converts a decimal number
|
||||
* to a binary number using a conventional
|
||||
* algorithm.
|
||||
*/
|
||||
@@ -37,7 +38,7 @@ class DecimalToBinary {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method converts a decimal number
|
||||
* This method converts a decimal number
|
||||
* to a binary number using a bitwise
|
||||
* algorithm
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user