style: enable MultipleVariableDeclarations in checkstyle (#5175)

Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
This commit is contained in:
vaibhav9t1
2024-05-25 23:48:27 +05:30
committed by GitHub
parent 44ce6e7b0d
commit 9eaa2bb756
82 changed files with 299 additions and 121 deletions

View File

@ -24,7 +24,10 @@ final class DecimalToBinary {
* conventional algorithm.
*/
public static void conventionalConversion() {
int n, b = 0, c = 0, d;
int n;
int b = 0;
int c = 0;
int d;
Scanner input = new Scanner(System.in);
System.out.printf("Conventional conversion.%n Enter the decimal number: ");
n = input.nextInt();
@ -42,7 +45,10 @@ final class DecimalToBinary {
* algorithm
*/
public static void bitwiseConversion() {
int n, b = 0, c = 0, d;
int n;
int b = 0;
int c = 0;
int d;
Scanner input = new Scanner(System.in);
System.out.printf("Bitwise conversion.%n Enter the decimal number: ");
n = input.nextInt();