C Program to Find the Largest Number Among Three Numbers

In this example, the largest number among three numbers (entered by the user) is found using three different methods.

This program uses only if statement to find the largest number.

Example #1

This program uses nested if…else statement to find the largest number.