write a program to find the largest of two numbers without
using for,while,switch,if else, conditional operator and do
while using c++ pgmng language
Answer Posted / vishal sharma
double largeone(double a,double b)
{
return(((a+b)/2) + ((a-b)/2));
}
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Why is polymorphism used?
Can static class have constructor?
Write a c++ program to display pass and fail for three student using static member function
what are the realtime excercises in C++?
to find out the minimum of two integer number of two different classes using friend function
What is overriding in oop?
What is super in oop?
What is encapsulation process?
What is the advantage of oop over procedural language?
What is stream in oop?
What are the benefits of oop?
How do you use inheritance in unity?
What is abstraction with example?
any one please tell me the purpose of operator overloading
What is polymorphism explain?