Supermarket Managemet System/main.cpp
bool CompareUsingQuantityDescending( Product FirstProduct, Product SecondProduct)
{
    if(FirstProduct.Quantity > SecondProduct.Quantity)
        return 1;
    else
        return 0;
}
//Used to Compare products using there quantity in descending order
Used to Compare products using there quantity in descending order
Used to Compare products using there quantity in descending order
bool CompareUsingQuantityDescending( Product FirstProduct, Product SecondProduct)
{
    if(FirstProduct.Quantity > SecondProduct.Quantity)
        return 1;
    else
        return 0;
}
bool CompareUsingQuantityDescending ( Product FirstProduct , Product SecondProduct ) { if ( FirstProduct . Quantity > SecondProduct . Quantity ) return 1 ; else return 0 ; }
Used to Compare products using there quantity in descending order
Used to Compare products using there quantity in descending order