Skip to main content

Experiment 02

📄️ C

The flowchart outlines a step-by-step algorithm to find the smallest number among three input numbers, incorporating input validation for error handling. Beginning with the Start symbol, it proceeds to declare variables to hold the input numbers. The user is prompted to input three numbers, which are then validated for correctness. The algorithm compares the first two numbers and stores the smaller one. Following this, it compares the smallest to the third number, determining the overall smallest number among the three. Finally, it displays this smallest number to the user.