Hit the flag! This program will tell you if your number is a Niven Number or not. A Niven Number is a number which is divisible by the sum of its digits. E.g., 12 = 1+2 = 3 and 12 is divisible by 3. Please input a positive integer. Also, please do not inout special characters or letters. Have fun!
This is the sixth episode in my 'The Clever Hat' series. It's basically a series where I make programs to identify different kinds of numbers, or give a specific output. The first 4 episodes were sort of trials. I'm learning to program in java and these are sort of exercises so I thought I would also try them in Scratch, thus the series. Sprite and Backdrop: Scratch Coding: Yours Truly Have fun once again! Links to other episodes: Episode 1: https://scratch.mit.edu/projects/326398044 Episode 2: https://scratch.mit.edu/projects/326398800 Episode 3: https://scratch.mit.edu/projects/334425561 Episode 4: https://scratch.mit.edu/projects/337765322 Episode 5: https://scratch.mit.edu/projects/371931345 Episode 7: https://scratch.mit.edu/projects/384586776 Episode 8: https://scratch.mit.edu/projects/384591895 Episode 9: