文件名称:banking-practice
-
所属分类:
- 标签属性:
- 上传时间:2013-04-29
-
文件大小:2.37kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本实例实现了银行业务的模拟。假设某个银行有4个窗口对外接待客户。从早晨银行开门 不断有客户进入银行。由干每个窗口在某-时刻只能接待一个客户,因此在客户人数众多时需 在每个窗口前顺次徘队。对子刚进入银行的客户,如果某个窗口的业务员正空闲,则可上前办 理、Ik务,反之,若4个窗口都忙着,则要选择一个最短的队伍排队。现在需要编制一个程序来 模拟银行的这种业务活动并计算一天中客户在银行的平均逗留时间。-The examples of simulation of the banking business. Suppose a bank of four windows external reception customers. Open the door from the morning bank customers into the bank. Dry each window in a- time only receive a customer, need a large number of customers in each window before sequentially irresolute team. The pair just entering the bank' s customer, if a window salesman is idle, you can front handle, Ik Service Conversely, if the four windows are busy, they have to choose a shortest team line up. Now need to prepare a program to simulate the banks of this business activities and calculate the average length of stay of the day the customer in the bank.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
banking practice.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.