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 polymorphism in oop example?
Can we have inheritance without polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is abstract class in oops?
What are the components of marker interface?
Where You Can Use Interface in your Project
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is the purpose of polymorphism?
What is encapsulation in simple terms?
#include
What is constructor in oop?
Is enum a class?
What are classes oop?
What is difference between polymorphism and inheritance?
What does oop mean in snapchat?