Take three person's age and give greatest and younger people's age

PHOTO EMBED

Fri Feb 10 2023 07:57:13 GMT+0000 (Coordinated Universal Time)

Saved by @itachi #c++

#include<iostream>
using namespace std;
int main(){
    int a,b,c;
    cout<<"Enter the age of three person\n";
    cin>>a>>b>>c;
    if(a>b&&a>c){
        cout<<a<<" is greatest among them"<<endl;
    }
    if(b>c){
        cout<<c<<" is younger among them"<<endl;
    }
    return 0;
}
content_copyCOPY