commit 98b046ad354db4f880ed0641f365cbb27d0d4c50 Author: unknown <18408200125@stu.hut.edu.cn> Date: Mon Jan 7 10:17:53 2019 +0800 first commit diff --git a/Untitled1.cpp b/Untitled1.cpp new file mode 100644 index 0000000..62a1643 --- /dev/null +++ b/Untitled1.cpp @@ -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); + +} diff --git a/Untitled1.exe b/Untitled1.exe new file mode 100644 index 0000000..0778119 Binary files /dev/null and b/Untitled1.exe differ