Question: In mathematics, a square number, sometimes also called a perfect square, is an integer that is the square of an integer; in other words, it

 In mathematics, a square number, sometimes also called a perfect square,

In mathematics, a square number, sometimes also called a perfect square, is an integer that is the square of an integer; in other words, it is the product of some integer with itself. For example, 9 is a square number, since it can be written as 3x3. (Text from Wikipedia) Write a program to check if the input number (less than 1000) is the summation of two perfect square or not. For example 25 is 16+9 that both numbers 16 and 9 are perfect square. The output should be such as the following examples: If input is 3 the message should be: 3 is not a summation of two perfect square. 25 is the summation of two perfect square, because If input is 25: the message should be: 25 SQ (3) +SQ(4)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!