sum all digits - MATLAB Cody - MATLAB Central

Problem 44287. sum all digits

Difficulty:Rate

input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

Solution Stats

59.52% Correct | 40.48% Incorrect
Last Solution submitted on Nov 20, 2024

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers109

Suggested Problems

More from this Author4

Community Treasure Hunt

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

Start Hunting!
Go to top of page