Cody

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

Created by Debopam in Community

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

41.89% Correct | 58.11% Incorrect
Last solution submitted on May 17, 2019

Problem Comments

Solution Comments