Using c++ oop solve below program. Just make function named Add new Product can call it into main function.Function should perform following functionalities To add new product following steps must be full filled ⮚ Select category ⮚ Product Name ⮚ Description of product ⮚ Product Category Name 6. Sports 7. Garments 8. Eatables 9. Medicines 10. Fashion ⮚ P-id (should be auto generated by the system in increasing order) [format should be product from which category+std_number e.g., 010001 for sports category and 1001 for product number and 020003 for category of Garments and 0003 product number] ⮚ Size of product(optional) e.g., Small, Medium, Large ⮚ Color of product(optional) e.g., Blue, Brown, Black ⮚ Product quantity (if quantity is zero show out of stock) After this, you must record all the above-mentioned data save data within a file named as “products.txt” present in the same directory
Using c++ oop solve below program.
Just make function named Add new Product
can call it into main function.Function should perform following functionalities
To add new product following steps must be full filled
⮚ Select category
⮚ Product Name
⮚ Description of product
⮚ Product Category Name
6. Sports
7. Garments
8. Eatables
9. Medicines
10. Fashion
⮚ P-id (should be auto generated by the system in increasing order) [format should be product from which category+std_number e.g., 010001 for sports category and 1001 for product number and 020003 for category of Garments and 0003 product number]
⮚ Size of product(optional) e.g., Small, Medium, Large
⮚ Color of product(optional) e.g., Blue, Brown, Black
⮚ Product quantity (if quantity is zero show out of stock)
After this, you must record all the above-mentioned data save data within a file named as
“products.txt” present in the same directory
Step by step
Solved in 4 steps with 7 images