Math, asked by madpagal82151, 10 months ago

Smallest n digit number such that sum of square of digit is perfect square

Answers

Answered by Anonymous
1

Given an integer N, the task is to find the smallest and the largest N digit numbers which are also perfect squares.

Examples:

Input: N = 2

Output: 16 81

16 and 18 are the smallest and the largest 2-digit perfect squares.

I HOLE YOU WILL MARK ME AS BRAINLIEST

Similar questions