Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

magic-no

This Java program reads an integer from the user, calculates its remainder when divided by 9, and prints the remainder. If the remainder is 0, it prints 9 instead. This effectively prints the digital root of the number with special handling for multiples of 9.

About

This Java program reads an integer from the user, calculates its remainder when divided by 9, and prints the remainder. If the remainder is 0, it prints 9 instead. This effectively prints the digital root of the number with special handling for multiples of 9.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors