Computer Science, asked by tejaswinidas1303, 10 months ago

Algorithm of largest of 3 numbers using ternary operator

Answers

Answered by itzBrainlyBoy
4

Answer:

plz mark as brainliest.........xD

Attachments:
Answered by Anonymous
0

Answer:

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