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
What is an array in c?
what will be maximum number of comparisons when number of elements are given?
Why c is called object oriented language?
Explain high-order and low-order bytes.
What is logical error?
What does calloc stand for?
What are global variables?
What is a double c?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What is the size of enum in c?
What is static and volatile in c?
How can I split up a string into whitespace-separated fields?
What do you mean by a sequential access file?
How can you allocate arrays or structures bigger than 64K?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...