convert the following if else statement int c=a>b?1:0;
Answers
Answered by
1
Answer:
int a,c,b
cout<<"enter three numbers";
cin>>a>>b>>c;
if(a>b)
{
c=1;
}
else
{
c=0;
}
Similar questions