Problem 2274. Find the square of the sum of the digits of a number
Solution Stats
Problem Comments
-
1 Comment
Hassan Dehghani
on 24 Apr 2014
what's the answer for (-4+3+1)??? last time I checked, the answer was zero!!!!
Solution Comments
-
1 Comment
Joseph Pauwels
on 13 May 2014
-4 + 3 +1=0 right. I don't remember you saying the absolute value in the instructions.
Problem Recent Solvers131
Suggested Problems
-
Return a list sorted by number of occurrences
1901 Solvers
-
Find the sum of the elements in the "second" diagonal
1063 Solvers
-
Sum of diagonal of a square matrix
1445 Solvers
-
325 Solvers
-
Matlab Basics - Switching Assignments
190 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!