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