用C語言編寫的超市商品資訊管理系統

2021-07-01 22:15:38 字數 1440 閱讀 1839

/* 

* file:   main.c

* author: jia

** created on 2023年3月24日, 下午12:18

*/#include

#include

#include

#define max 10

void start();

void output();

void input();

void change();

void dele();

void search();

void insert();

struct  goods;

struct  goods goods[max],goodsinsert[max],g[max];

int count=0;

void main()

void start()

case 2:

case 3:

case 4:

case 5:

default :}}

void input()

while(strcmp(flag,"y")==0||strcmp(flag,"y")==0);

output();

}void change()

}if(m==0)printf("\n對不起,你輸入的商品不存在。請檢查!!!\n");

else if(m==1)

printf("\n是否改變商品的**(y/n): ");

scanf("%s",ch);

if(strcmp(ch,"y")==0||strcmp(ch,"y")==0)  

printf("\n是否改變商品的折扣(y/n): ");

scanf("%s",ch);

if(strcmp(ch,"y")==0||strcmp(ch,"y")==0)  

printf("\n是否改變商品的數量(y/n): ");

scanf("%s",ch);

if(strcmp(ch,"y")==0||strcmp(ch,"y")==0)  

printf("\n是否改變商品的剩餘數目(y/n): ");

scanf("%s",ch);

if(strcmp(ch,"y")==0||strcmp(ch,"y")==0)  

output();}

else printf("\n商品的編號錯誤,不能重複編號。請選擇刪除商品!!!\n");

}else printf("\n*********請繼續選擇**********\n");

}void output()

}void dele()

}void search()

break;}

case 2:break;}

case 3:break;}}}

void  insert()

基於PHP MySQL的超市資訊管理系統

近年來隨著我國零售產業的發展。各種超市更是遍布了全國的大街小巷。但是很多時候中小型超市都是在用人工的方式進行管理,這和時代已經出現了嚴重的脫節,為了能夠讓這些中小超市通過更加先進,更加科學的方式對超市內的資訊進行管理,我們開發了本系統。本系統主要實現了對超市商品型別,商品資訊,進貨資訊,銷售資訊,和...

運用python語言編寫學生資訊管理系統

使用自定義函式,完成對學生資訊管理系統的模組化,學生資訊包括 姓名 性別 手機號碼,該系統的功能 新增 刪除 修改 顯示和退出系統。設計思路 先提示使用者選擇功能,然後獲取使用者的選擇,分別呼叫不同的函式。print 20 歡迎來到學生資訊管理系統 20 students list defprint...

C語言編寫的商品管理系統

c語言編寫的商品管理系統商品的增刪改查 include include include define k 5 int m 2 商品種數 定義商品結構體 struct goods struct goods gs k 定義結構體陣列 void list 定義選單函式 void input 定義商品錄入函...