write a program to take input three number and print Max numbe
Answers
Answered by
1
Answer:
chevron_right. filter_none.
filter_none. #include <stdio.h> int main() { int A, B, C, largest; printf ( "Enter three numbers: " ); scanf ( "%d %d %d" , &A, &B, &C); largest = A > B ? ( A > C ? A : C) : (B > C ? B : C); printf ( "%d is the largest number." , largest); return 0; }
chevron_right. filter_none.
Similar questions