Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please correct my code, I don no the use the ponter argument to initialize wareh

ID: 3539392 • Letter: P

Question

Please correct my code,
I don no the use the ponter argument to initialize warehouse array, can explain how to do?
And check other wrong in my code.



My code:

#include <iostream>
#include <string>

using namespace std;

const int SIZE = 8;

class SportShoe_Inventory
{
    private:
            string name;
            int warehouse[SIZE];

    public:

            int * set_data()
            {

                int i;

                cout<<"Enter Shoe name :";
                getline(cin, name);

                for(i=0 ; i<8 ; i++)
                {


                }

            }

            void display_reserve()
            {
                int i;


            }
};

int main()
{
    SportShoe_Inventory SI;

    int array[10] = {5, 10, 15, 20, 25, 30, 35, 40};

    set_data();
   
    display_reverse();

    return 0;
}




Explanation / Answer

i can help for this work

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote