e ragment?
What is the error in following code fragme
sqroot = (int) Math.sqrt( num );
if (sqroot *sqroot == num)
System.out.println(num)
System.out.println(" is a perfect square.");
else
System.out.println(num)
System.out.println(" is NOT a perfect square."
Answers
Answered by
3
Answer:
intendation error.
you should click and attach the photo so that we can find
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Computer Science,
6 months ago
Political Science,
1 year ago