Storing value of a method in one varible.but the error is : MAIN METHOD SHOULD DISPLAY RESULT OF A SQR() METHOD. program runs successfully.giving correct output.