data files

来源:百度知道 编辑:UC知道 时间:2024/05/15 12:19:56
C语言中data files 是干什么用的?有什么好处?
帮忙编看一下这个程序:
1. Write a program that enters the name and the annual salary of 5 employees from the keyboard, calculates the monthly salary of each employee assuming that tax is deducted at a flat rate of 20%. The program prints the name, the annual salary and the monthly payment (net) of each employee in a file. The program adds an employee’s number to each employee before printing the names and values:
No. Employee’s Name Annual salary Monthly payment after tax

谢谢!!!

最好的辅导书就是上课用的教材!其他一概无需看!

如果能把教材吃透了,什么叫吃透?那就是知其然,并知其所以然,反复自己推导出很多的衍生知识,真正消化掉每一个知识点(决不是看一眼,“哦,这样啊,嗯,明白了”的态度,而是真正反复问自己,自己考自己,自己给自己出题,自己跟自己叫板。

1. 写从键盘输入5名雇员命名和年薪的一个节目,计算假设的每名雇员月薪税被扣除以平价的20%。