int main()
{
    int year;
    cout << "Please input a year -- ";
    cin >> year;
    if ( isLeap(year) )
        cout << endl << "It is a leap year." << endl;
    else
        cout << endl << "It is not a leap year." << endl;
    return 0;
}
Please input a year - 2013 It is not a leap year.Please input a year - 2016 It is a leap year.