Computer Science, asked by Thanu2336, 10 months ago

Largest of three numbers using conditional operators.

Answers

Answered by Akhilrajput1
0
Biggest Of Three Numbers Using Conditional operator/Ternary Operator in C

# include <stdio.h>void main(){int a, b, c, big ;printf("Enter three numbers : ") ;scanf("%d %d %d", &a, &b, &c) ;big = a > b ? ( a > c ? a : c) : (b > c ? b : c) ;printf("\nThe biggest number is : %d", big) ;
Similar questions