Supermarket Managemet System/main.cpp
void PrintInTableFormat()
{
    // Initialization
    //ResizeWindow();
    // Print Full Table For reference to edit
    cout << endl << "\t\t\t\t\t\t\t Here's a list of all products... " << endl << endl;
    // Print In Table Format Function
    PrintTableDividers();
    PrintTableHeader();
    NumberOfProductsCounter();
    // Loop Through the samples to print the details in table format
    for(int i = 0; i < NumberOfProducts; i++)
    {
        PrintTableDividers();
        PrintInItemValue(Products[i]);
    }
    PrintTableDividers();
}
/*
    This functions assembles all the above print functions and runs in a loop
    to show a table of all products available in stock
*/
This functions assembles all the above print functions and runs in a loop
to show a table of all products available in stock
This functions assembles all the above print functions and runs in a loop to show a table of all products available in stock
void PrintInTableFormat()
{
    cout << endl << "\t\t\t\t\t\t\t Here's a list of all products... " << endl << endl;
    PrintTableDividers();
    PrintTableHeader();
    NumberOfProductsCounter();
    for(int i = 0; i < NumberOfProducts; i++)
    {
        PrintTableDividers();
        PrintInItemValue(Products[i]);
    }
    PrintTableDividers();
}
void PrintInTableFormat ( ) { cout << endl << " \t \t \t \t \t \t \t " << endl << endl ; PrintTableDividers ( ) ; PrintTableHeader ( ) ; NumberOfProductsCounter ( ) ; for ( int i = 0 ; i < NumberOfProducts ; i ++ ) { PrintTableDividers ( ) ; PrintInItemValue ( Products [ i ] ) ; } PrintTableDividers ( ) ; }
This functions assembles all the above print functions and runs in a loop
to show a table of all products available in stock
This functions assembles all the above print functions and runs in a loop to show a table of all products available in stock
// Initialization //ResizeWindow(); // Print Full Table For reference to edit // Print In Table Format Function // Loop Through the samples to print the details in table format