说明:模拟银行排队处理,窗口可以自己开,输出服务总人数和每位顾客平均等待时间-Bank queuing simulation processing, the window can open, the output of the total number of service and average wait time per customer <陈伟> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:This a C# general library witch implements the Xbee API datafr a me for newbies.-This is a C# general library witch implements the Xbee API datafr a me for newbies. <fanl> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:本例表明了上述赋值运算中类型转换的规则。a为整型,赋予实型量y值8.88后只取整数8。x为实型,赋予整型量b值322, 后增加了小数部分。字符型量c1赋予a变为整型,整型量b赋予c2 后取其低八位成为字符型(b的低八位为01000010,即十进制66,按ASCII码对应于字符B)。-This example shows the assignment operator in the above-mentioned type convers <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:本例中四次输出了a,b的值,但由于格式控制串不同,输出的结果也不相同。第四行的输出语句格式控制串中,两格式串 d 之间加了一个空格(非格式字符),所以输出的a,b值之间有一个空格。第五行的printf语句格式控制串中加入的是非格式字符逗号, 因此输出
的a,b值之间加了一个逗号。第六行的格式串要求按字符型输出 a,b值。第七行中为了提示输出结果又增加了非格式字符串。
-In this case four times the ou <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:本例中用一个循环语句给a数组各元素送入奇数值,然后用第二个循环语句输出各个奇数。在第一个 for语句中,表达式3省略了。在下标变量中使用了表达式i++,用以修改循环变量。当然第二个for语句也可以这样作,C语言允许用表达式表示下标。 程序中最后一个printf语句输出了两次a[5]的值,可以看出当下标不为整数时将自动取整。-In this case with a loop to a surprising array of values <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:从键盘输入一个字符串,将小写字母全部转换成大写字母,然后输出到一个磁盘文件“test”中保存。输入的字符串以!结束。 -Keyboard input from a string to all lowercase letters converted to upper case, and then output to a disk file " test" saved. Input to the string! End. <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:某个公司采用公用电话传递数据,数据是四位的整数,在传递过程中是加密的,加密规则如下:每位数字都加上5,然后用和除以10的余数代替该数字,再将第一位和第四位交换,第二位和第三位交换。
-The adoption of a public telephone data transmission, data is an integer of 4, in the transmission process is encrypted, encry <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:有五个学生,每个学生有3门课的成绩,从键盘输入以上数据(包括学生号,姓名,三门课成绩),计算出平均成绩,况原有的数据和计算出的平均分数存放在磁盘文件"stud"中。-There are five students, each student has three classes of results, more than from the keyboard input data (including student number, nam <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0
说明:有两个磁盘文件A和B,各存放一行字母,要求把这两个文件中的信息合并(按字母顺序排列), 输出到一个新文件C中。-There are two disk files A and B, the storage of his letters, these two documents requested information in the merger (in alphabetical order), output to a new file <lili> 在 2025-04-07 上传
| 大小:2kb | 下载:0