WAP find square root of any number (without using sqrt() )?
Answer Posted / avinash
private int sqrt()
{
int n = console.readline();
n = n*n;
return n;
}
Is This Answer Correct ? | 5 Yes | 11 No |
Post New Answer View All Answers
What is the difference between a constructor and a destructor?
What is inheritance in oop?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is difference between polymorphism and inheritance?
What is polymorphism programming?
What does sksksk mean in text slang?
to find out the minimum of two integer number of two different classes using friend function
Why oops is important?
What is difference between oop and pop?
What is stream in oop?
Is this job good for future? can do this job post grduate student?
How do you use inheritance in unity?
What are two types of polymorphism?
When not to use object oriented programming?
What is a superclass in oop?