How can we print the name of youngest in output? I want to calculate the youngest person.
That is my code:
    #include <stdio.h>
    #include <conio.h>
    int main() {
    int john;
    int ahmad;
    int saleem;
    printf("Enter the age of john,ahamd, saleem simaltanoeusly\n");
    scanf_s("%d\n%d\n%d", &john, &ahmad, &saleem);
    int youngest = john;
    if (john > ahmad) 
        youngest = ahmad;
    if (ahmad > saleem)
        youngest = saleem;
    printf("youngest of you is %d", youngest);
    _getch();
    return 0;
}
 
     
     
     
     
    