Computer Science, asked by shaikhjuber9153, 16 days ago

Write a program in c Find maximum amongst three number

Answers

Answered by arbazkhan754460
0

first Make basic structure

then put int

Attachments:
Answered by yashdev456
0

Answer:

hope you like this

in this I use conditional operators

Explanation:

#include<stdio.h>

#include<ctype.h>

int main ()

{

int a,b,c,x;

printf("Enter three numbers:\n");

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

x=(a>b)?((a>c)?a:c)):[(b>c)?b:c];

printf("gratest no. is:%d",x);

return 0;

}

Similar questions