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 / random
double largest(double x, double y){
return (x+y)/2. + abs(x-y)/2.;
}
Is This Answer Correct ? | 28 Yes | 9 No |
Post New Answer View All Answers
what is graphics
What are different oops concepts?
What are oops methods?
Why do we use polymorphism in oops?
State what is encapsulation and friend function?
what is the drawback of classical methods in oops?
what are the different types of qualifier in java?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
write a C++ program for booking using constructor and destructor.
Is data hiding and abstraction same?
Get me a number puzzle game-program
Why is there no multiple inheritance?
What is encapsulation c#?
What is interface? When and where is it used?
What are the types of abstraction?