Computer Science, asked by iamshliendra73, 1 year ago

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 priyanshutiw1253
3

Answer:

intendation error.

you should click and attach the photo so that we can find

Similar questions