C++ in Xcode (Mac) Grocery Store Inventory: This project will help a supermarket
ID: 3838765 • Letter: C
Question
C++ in Xcode (Mac)
Grocery Store Inventory: This project will help a supermarket group its vast collection of items. Create a program that will store the 10,000 items an average grocery store carries. Use data structures to store the quantity and cost of each item. The program should return the total items available at the store and the cost of those items. The user should be able to search for specific items and be returned the individual price. Create a text file with all items in sorted alphabetical order. The store manager should be able to add new items. The program should have a graphical user interface. (More is better for this project.)
(Please write and explain a description about the program and screenshots of the code executing. Please explain how does the game work. Please identify the data structures and algorithms in your program and how they are fundamental to the successful execution of the program.)
Explanation / Answer
#include "stdafx.h" #include #include #include "Windows.h" #include using namespace std; struct groList { int id; char name[20]; double price; int quantity; char type[20]; }; void addRec(); void delRec(); void viewRec(); void srchRec(); int main() { groList groc[1]; int choice_menu=0; char choice_by[20]; char choice='Y'; char input; char passChar[100]; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.