Computer Science, asked by devanandas187, 6 months ago

convert the following if else statement int c=a>b?1:0;​

Answers

Answered by mrnirjan1234
1

Answer:

int a,c,b

cout<<"enter three numbers";

cin>>a>>b>>c;

if(a>b)

{

c=1;

}

else

{

c=0;

}

Similar questions