文件名称:bank
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.9kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设某银行有2个窗口对外接待客户,从早晨银行开门起不断有客户进入银行,由于每个窗口在某个时刻只能接待一个客户。因此在客户人数众多时需要在每个窗口前顺次排队,对于刚进和银行的客户。如果某个窗口的业务员正空闲,则可上前办理业务。反之,若个窗口均有客户所占,他便会排在为数最少的队伍后面。编制一个程序模拟银行的这种业务活动并计算一天中客户在银行的平均逗留时间。
-Suppose there are two windows of a bank' s foreign hospitality customers, banks are open from morning onwards there have been customers into the bank, because each window at a time, only to receive a customer. Therefore, customers need a large number of sequential line up in front of each window, entered, and for the bank' s customers. If a window salesman is free, can be approached to conduct business. Conversely, if the windows are customers of, he would row in behind the ranks of the least number. The preparation of a program to simulate the bank' s business activities and the calculation of this day the customer in the bank' s average length of stay.
-Suppose there are two windows of a bank' s foreign hospitality customers, banks are open from morning onwards there have been customers into the bank, because each window at a time, only to receive a customer. Therefore, customers need a large number of sequential line up in front of each window, entered, and for the bank' s customers. If a window salesman is free, can be approached to conduct business. Conversely, if the windows are customers of, he would row in behind the ranks of the least number. The preparation of a program to simulate the bank' s business activities and the calculation of this day the customer in the bank' s average length of stay.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bank.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.