biggest of two no's with out using if condition statement
Answer Posted / abin m devasia,biju k m
#include<iostream.h>
void main()
{
int a,b,c;
cin>>a>>b;
c=abs(a-b);
c=(a+b+c)/2;
cout<<"Big is"<<c;
}
Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
If errno contains a nonzero number, is there an error?
Is c procedural or object oriented?
in iso what are the common technological language?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is c++ used for today?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is formal argument?
How can I change the size of the dynamically allocated array?
Explain how can you tell whether a program was compiled using c versus c++?
Is javascript based on c?
Write a program to swap two numbers without using third variable in c?
What is meant by preprocessor in c?
Can we declare variable anywhere in c?
how to introdu5ce my self in serco
What will be the outcome of the following conditional statement if the value of variable s is 10?