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 Solvers130
Suggested Problems
-
07 - Common functions and indexing 3
354 Solvers
-
Let's get back to school, and create multiplication tables
170 Solvers
-
Deleting an element in a matrix
413 Solvers
-
find the surface area of a cube
413 Solvers
-
Matrix of almost all zeros, except for main diagonal
161 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!