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
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Which language is pure oop?
What is abstraction in oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Can an interface inherit a class?
What is protected in oop?
What is the difference between inheritance and polymorphism?
can inline function declare in private part of class?
What is polymorphism used for?
What is the renewal class?
What is overloading and its types?
What exactly is polymorphism?
What is difference between oop and pop?
What is a null tree?
How do you achieve polymorphism?