is the number happy? - MATLAB Cody - MATLAB Central

Problem 2051. is the number happy?

Difficulty:Rate
test is a given integer number is Happy of not?
answer 1 if yes or 0 is no

Solution Stats

55.64% Correct | 44.36% Incorrect
Last Solution submitted on Feb 07, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Group

Magic Numbers II Image
Magic Numbers II
  • 14 Problems
  • 70 Finishers

Problem Recent Solvers68

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page