Skip to content

Java program that counts the number of digits in an integer entered by the user. The program repeatedly asks for input and displays the number of digits the input integer has. This implementation converts the users input to a string and uses the .length( ) method to find the number of characters in it.

Notifications You must be signed in to change notification settings

smmcgrath/DigitCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

DigitCounter

Java program that counts the number of digits in an integer entered by the user. The program repeatedly asks for input and displays the number of digits the input integer has. This implementation converts the users input to a string and uses the .length( ) method to find the number of characters in it.

About

Java program that counts the number of digits in an integer entered by the user. The program repeatedly asks for input and displays the number of digits the input integer has. This implementation converts the users input to a string and uses the .length( ) method to find the number of characters in it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages