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
what type of question are asked in thoughtworks pair programming round ?
What is polymorphism and types?
Can we create object of interface?
What is variable example?
What is abstraction encapsulation?
what's the basic's in dot net
Write a program to reverse a string using recursive function?
What is destructor give example?
What is property in oops?
Which language is pure oop?
What do you mean by Encapsulation?
What is encapsulation in ict?
What is the advantage of oop over procedural language?
What are the advantages of polymorphism?
Why do we use polymorphism in oops?