Cody

Problem 2274. Find the square of the sum of the digits of a number

If a number (n) is provided as an input, find the square of the sum of the digits of the number.

Example

If n = 21, the answer will be square of (2 + 1) = 9

Solution Stats

42.22% Correct | 57.78% Incorrect
Last Solution submitted on Nov 02, 2019

Problem Comments

Solution Comments

Problem Recent Solvers88

Suggested Problems

More from this Author9

Problem Tags