How To Find Youngest Age In Three Age C

Simple way to program of youngest age in C

#include<stdio.h>
#include<conio.h>
void main ()
{
int age1,age2,age3;
clrscr();
printf(“Enter age of three pepole”);
scanf(“%d%d%d”,&age1,&age2,&age3);
if (age1<=age2&&age1<=age3)
printf(“young age%d”,age1);
else
if(age2<=age3)
printf(“%d”,age2);
else
printf(“%d”,age3);
getch();
}

After Running Program 🙂

Leave a Reply