subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:20
Geneva’s manager would like to see some additional information to make sales decisions.enter a formula in cell j4 using the if function to it whether or not the item beaded earrings should go on sale. it will go on sale if its current sales rank (in cell g4) is 8th or lower. (hint: if the cell value is greater than or equal to 8, it will go on sale.)if this condition is true, the item will go on sale. (hint: the if_true value should be “yes”.)if this condition is false, the item doesn’t need to go on sale. (hint: the if_false value should be “-”.)copy the formula created in cell j4 to the range j5: j14
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
You know the right answer?
Three employees in a company are up for a special pay increase. you are given a file, say salarydata...
Questions
question
Mathematics, 27.05.2021 03:30
question
Mathematics, 27.05.2021 03:30
question
Mathematics, 27.05.2021 03:30
question
Mathematics, 27.05.2021 03:30
Questions on the website: 13722359