How to realize supermarket pricing and Collection system with C language
Editor to share with you how to achieve the supermarket pricing and collection system in C language. I hope you will get something after reading this article. Let's discuss it together.
The details are as follows
I studied C language for a month and wrote a simple supermarket pricing and collection system.
The source code is as follows
# include#include#include#define M 10typedef struct / / defines the structure of the commodity {char name [10]; int num; float price; int ID;} Store;Store store [M]; void shuru () / / defines the function {int i; int isgo; int n; for (iCommodity) of the input commodity