Node is saved as draft in My Content >> Draft
-
C program to find largest number from three number
over 10 years ago
-
almost 10 years ago
Hi, Thanks. nice program using if-else statememt. We can also find the largest of three numbers using ternary operator or conditional operator as :
max = (a > b) ? ((a > c) ? a : c) : ((b > c) ? b : c);
I found this after searching. Here is the full program Maximum of three numbers using ternary operator
-

1 Comment(s)