algorithm to find the largest number among three
Answers
Answered by
4
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.
Answered by
0
Answer:
answer attached in photo
Attachments:
Similar questions