Computer Science, asked by geddamgowtham143, 4 days ago

Program for finding the maximum of three numbers using conditional operator ?​

Answers

Answered by akhtaruddin38
0

Answer: Program

void main()

int a,b,c,t,max;

printf("enter 3 numbers\n");

scanf("%d%d%d",&a,&b,&c);

t=a>b? a:b;

max=t>c? t:c;

printf("\nmax value is %d",max);

Similar questions