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 Solvers149
Suggested Problems
-
5190 Solvers
-
How to find the position of an element in a vector without using the find function
2616 Solvers
-
5450 Solvers
-
Sum of odd numbers in a matrix
448 Solvers
-
Rotate a matrix for 180 degree
164 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!