Computers and Technology
Computers and Technology, 13.11.2019 19:31, vianney84

Three employees in a company are up for a special pay increase. you are given a file, say salarydata. txt, with the following data:

miller andrew 65789.87 5
green sheila 75892.56 6
sethi amit 74900.50 6.1

each input line consists of an employee’s last name, first name, current salary, and percent pay increase. for example, in the first input line, the last name of the employee is miller, the first name is andrew, the current salary is 65789.87, and the pay increase is 5%. write a program that reads data from the specified file and stores the output in the file salaryoutput. dat. for each employee, the data must be output in the following form: firstname lastname updatedsalary. format the output of decimal numbers to two decimal places.

to solve this problem, you must create the input data file manually. to do this in codeblocks, go to the file menu and select new and then empty file. a popup will ask if you want to add this file to the project. when you say yes, you will have to name the file. it is best to put a .txt extension on the file name. this type of file is called a flat file. a flat file is similar to a spread sheet in that all the fields (columns) contain the same type of information and the records (rows) contain different data values.

turn in:

analysis identifying program inputs, outputs, equations, and constants.

design including human algorithm and pseudocode algorithm

test data

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, westjayson69
Requirement types discussed during software development include functional and color scheme nonfunctional and code style constraint and nonfunctional fashionable and functional.
Answers: 2
image
Computers and Technology, 22.06.2019 11:00, dondre54
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, elizabethburkha
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
image
Computers and Technology, 24.06.2019 03:30, ilovewaffles70
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
Do you know the correct answer?
Three employees in a company are up for a special pay increase. you are given a file, say salarydata...

Questions in other subjects: