commit
98b046ad35
@ -0,0 +1,38 @@
|
||||
#include "stdio.h"
|
||||
#define N 20
|
||||
struct worker
|
||||
{
|
||||
int number; /*工号*/
|
||||
int counts; /*数量*/
|
||||
int grade; /*等级*/
|
||||
};
|
||||
/*******************************************************
|
||||
定义
|
||||
*******************************************************/
|
||||
void xinxi()
|
||||
{
|
||||
printf("\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
|
||||
printf("+ 职工工作量统计系统 +\n");
|
||||
printf("+ +\n");
|
||||
printf("+ 1. 职工基本信息输入 +\n");
|
||||
printf("+ +\n");
|
||||
printf("+ 2. 工作量输入 +\n");
|
||||
printf("+ +\n");
|
||||
printf("+ 3. 按工作量排序 +\n");
|
||||
printf("+ +\n");
|
||||
printf("+ 4. 按职工工号进行信息删除 +\n");
|
||||
printf("+ +\n");
|
||||
printf("+ 5. 结束程序 +\n");
|
||||
printf("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
|
||||
}
|
||||
|
||||
int main (){
|
||||
int choice;
|
||||
|
||||
do
|
||||
{ xinxi();
|
||||
scanf("%d",&choice);
|
||||
|
||||
}while(1);
|
||||
|
||||
}
|
Binary file not shown.
Loading…
Reference in new issue