write a c program to find biggest of 3 number without
relational operator?
Answer Posted / pankaj upadhyay
using c++;
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a,b,c;
double d;
cout<<"enter no.";
cin>>a>>b;
d=pow(2,a-b)
c=(int)d;
if(c==0)
cout<<b;
else
cout<<a;
return 0;
}
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain output of printf("Hello World"-'A'+'B'); ?
What is the difference between procedural and declarative language?
Is c compiled or interpreted?
Is there a way to compare two structure variables?
I have a varargs function which accepts a float parameter?
to find the closest pair
How would you rename a function in C?
can anyone please tell about the nested interrupts?
What is the scope of an external variable in c?
Explain is it valid to address one element beyond the end of an array?
Tell me about low level programming languages.
What is a function simple definition?
What is scope of variable in c?
What are the salient features of c languages?
Is r written in c?