mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 04:26:27 +08:00
updated with Maths package
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import java.util.*;
|
||||
import java.lang.*;
|
||||
// count the number of digits in a number
|
||||
class CountDigit{
|
||||
public static void main(String args[]){
|
||||
class CountDigit {
|
||||
public static void main(String args[]) {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
System.out.print("Enter the number: ");
|
||||
int number = sc.nextInt();
|
||||
|
Reference in New Issue
Block a user