Hit the green flag! Input a positive integer with an even number of digits. The hat will tell you whether it is a tech number or not. A tech number is a number which, even if you divide the number into 2 halves and add the halves and square the halves, you'll get your original number. I know, it's a little hard to follow. E.g., 3025 => 30 and 25 => 30 + 25 => 55 => 55 x 55 => 3025. (3025 is the only example I know, but there are more XD) Press the red button to end the program.
This is the ninth 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. 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 6: https://scratch.mit.edu/projects/371939295 Episode 7: https://scratch.mit.edu/projects/384586776 Episode 8: