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