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 abstraction and encapsulation?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the point of oop?
Write a program to reverse a string using recursive function?
What is new keyword in oops?
What is overriding in oops?
What is abstraction encapsulation?
What is variable example?
What is abstraction with example?
What is difference between inheritance and polymorphism?
What is encapsulation with example?
Can you explain polymorphism?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What are the 5 oop principles?
what's the basic's in dot net