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