Question: Write a program in C that takes ages, of 3 people as input and determine the youngest among them. Sample input/output 1: Enter ages of

Write a program in C that takes ages, of 3 people as input and determine the youngest among them.

Sample input/output 1:

Enter ages of three people (person 1, person 2, and person 3): 28 35 22

Person 3 is youngest

Sample input/output 2:

Enter ages of three people (person 1, person 2, and person 3): 22 35 26

Person 1 is youngest

Sample input/output 3:

Enter ages of three people (person 1, person 2, and person 3): 28 20 22

Person 2 is youngest

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!