搜索资源列表
shanchuqiantao
- 实现删除嵌套的注释。每次从键盘上读取三行字符串。若发现存在嵌套的情况,即在注释内又存在的/*或*/,就把这/*或*/删除,注释外的部分保留。/与*优先级是左结合,即当前出现/*/时,优先删除/*。-Achieve delete nested comments. Each read three lines of string from the keyboard. If it is found of the presence of nested, the comment /* or* /, put
LAB10_E1
- Calculate the salary of the employee by hours and save it as records, output the infomations, the total salary is calculated by the total hours and salary per hour. Question: 1. Write a program to read FIVE (5) employees’ records from the keybo
5name
- 输入五个姓名,并将几段名字的首字母大写,能识别空格。最后将输入的名字输出到data文件-Write a programme that reads in the name (Given name+ space+ family name) of 5 persons and writes them to a disk file. Each name in the disk file always starts on a new line. Note that you need consider