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 encapsulation and abstraction? How are they implemented in C++?
What are the 3 pillars of oop?
Explain the concepts involved in Object Oriented programming.
What is polymorphism explain its types?
What is encapsulation selenium?
Why do we use class?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What are the components of marker interface?
What is cohesion in oop?
What are properties in oop?
Why is destructor used?
What is multilevel inheritance?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What are the 5 oop principles?
Explain the advantages of inheritance.