how to check largest of 3 numbers in c progarm using nested if
Answers
Answered by
1
int a,b,c
if (a>b)
{printf("a is >than b")}
ifelse (a>b>c)
print b is greater than a
else b>c
print b is greater than c
if (a>b)
{printf("a is >than b")}
ifelse (a>b>c)
print b is greater than a
else b>c
print b is greater than c
Similar questions