Write a program to input two unequal positive numbers and check whether they are perfect square
numbers or not. If the user enters a negative number, then the program displays the message
'Square root of a negative number can't be determined'.
Sample Input: 81, 100
Sample Output: They are perfect square numbers.
Sample Input: 225, 99
Sample Output: 225 is a perfect square number.
99 is not a perfect square number.
Answers
Answered by
0
Answer:
Write a program to input two unequal positive numbers and check whether they are perfect square numbers or not. If the user enters a negative number then the program displays the message ‘Square of a negative number can’t be determined’. Sample Input: 81,100. Sample Output: They are perfect square numbers. Sample Input: 225,99
Explanation:
Similar questions
Economy,
15 days ago
Social Sciences,
1 month ago
Math,
1 month ago
History,
9 months ago
Math,
9 months ago