Java Programming and Technical Programming Database

Find the nearest perfect square of the given number.
Sample input:600
Sample output:576.

Sample input:47011
Sample output:47089

Read Solution (Total 1)

Java Other Question

Which checks the object code to determine whether there are more efficient means of execution?
1)Interpreter
2) Linker
3)Compiler
4) Optimizer
21. you have three dice each side is numbered as 1,2,3,4,5,6 .you have to take a
number from user check that number as sum of any side number of these
three dice.like we take number as 5 then the possibility are (1,1,3) (1,2,2)
(1,3,1) (2,1,2) (2,2,1) (3,1,1) and is 6 possibility. So write to a program for that.