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