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 23:00
Fast sportcars the top speeds of sportscars, given in miles per hour, are: 155 mph bmw m5 217 mph lamborghini aventador spyder 205 mph ferrari 488 205 mph nissan gtr 197 mph chevrolet corvette stingray zr1 258 mph bugatti veyron supersport 195 mph dodge viper 270 mph hennessey venom 155 mph bmw m3 195 mph mercedes sl given: topspeeds=[155; 217; 205; 205; 197; 258; 195; 270; 155; 195]; carnames=string(["bmw m5" "lamborghini aventador spyder" "ferrari 488" "nissan gtr" "chevrolet corvette stingray zr1" "bugatti veyron supersport" "dodge viper" "hennessey venom" "bmw m3" "mercedes sl"]); the variable is a rectangular array. write a function called selectcars to identify cars with the top speed within a given range, and display the identified names. the selected cars speed will be in a range given by lowerbound < speed < upperbound. inputs to the function selectcars are: a column array os all car top speeds named topspeeds, the corresponding chara
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
question
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
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, 11.09.2020 09:01
question
Biology, 11.09.2020 09:01
question
Social Studies, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Social Studies, 11.09.2020 09:01
question
Chemistry, 11.09.2020 09:01
question
English, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Social Studies, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Mathematics, 11.09.2020 09:01
question
Chemistry, 11.09.2020 09:01
Questions on the website: 13722362