Program to calculate the average salary and years employed

Assignment Help Software Engineering
Reference no: EM1378929

Construct a program that determines how many consonants are in an entered string of fifty characters or less. Output the entered string and the number of consonants in the string.

Write a program that will read records from a file (create your data file by using data from sample below) and store them in a binary file. That file will then be used as input to create an output file of the information. The data file contains employee information consisting of name, social security, department ID, years employed, and salary. In addition to displaying the information of each record, the program will also calculate the average salary and years employed of all the records. This additional information is stored in the same output file.

Sample Data File:
Bill Tarpon 182460678 789 8 30600
Fred Caldron 456905434 789 10 40700
Sally Bender 203932239 790 8 50000
David Kemp 568903493 790 9 60000
The output file should look like this:
Name Social Security Department-ID Years-Employed Salary
Bill Tarpon 182460678 789 8 30600.00
Fred Caldron 456905434 789 10 40700.00
Sally Bender 203932239 790 8 50000.00
David Kemp 568903493 790 9 60000.00
The average number of years employed is 8
The average salary is $45325.00

Reference no: EM1378929

Questions Cloud

Software development practices : Agile Development is a blanket term that covers a wide variety of software development practices many of which have been codified and documented.
Creating well documented object oriented application : Construct an efficient, well-documented object oriented application to manage all of job offers that an upcoming graduate is getting.
Microsoft word and powerpoint presentation : Assume A friend of you has just started using M.S. Word, and has e-mailed you requesting instructions on how to apply a first line indent to a paragraph. Construct a list of instructions about how to configure a 1st line indent for a paragraph.
Finding output of the code sequence : Construct the pseudocode for a program that finds the sums of the numbers input that are greater than or equal to 10 and the numbers input that are less than ten.
Program to calculate the average salary and years employed : Construct a program that determines how many consonants are in an entered string of fifty characters or less. Output the entered string and the number of consonants in the string.
Explanations on fixing c++ code errors : This technique takes an array of ints as a parameter and returns an array of Booleans. For each element in the parameter array whose value is 0,
Finding error in code sequence : This code prints all elements of the array geo for, Describe what the problems are and how to fix them.
Explain and fix java code errors : The code compiles properly, but when you run, you get the following output, Exception in thread "main" java.land.IndexoutBoundsException:
Fixing errors for java code : The code compiles properly and runs, but result is not what you expected; output is similar to the following, Describe what the problem is how to fix it.

Reviews

Write a Review

Software Engineering Questions & Answers

  Draw a class diagram of structure of monitoring station

Printer, on which the readings from these three sensors are shown. Readings are taken checkpoint. Draw a class diagram summarizing the structure of the monitoring station.

  Create risk management policy to addresse security breaches

Oorganization which permitted unauthorized individual access to valuable data. Your job is to create risk management policy that addresses the two security breaches and how to mitigate these risks.

  Programming frameworks besides asp.net

Name three other web programming frameworks besides ASP.NET. Explain the ways that ASP.NET is different than other web programming frameworks.

  Draw a good database schema for a club

What normal form is schema G in? Draw a good database schema for a club. (Remember that your design should satisfy stated query requirement!)

  Draw entity-relationship diagram students playing games

Draw an entity-relationship diagram for the following situation: Many students play many different sports. One person, called the head coach, assumes the role of coaching all these sports.

  Create a weather object using the no-argument constructor

Create a 'Weather' object using the no-argument constructor

  Data flow diagram for new customer support system

A context diagram, also called a Data Flow Diagram (DFD), documents the scope of the new customer support system. It focuses primarily on output from the system.

  Steps to follow in evaluation of software packages

Top Sail's owner read an article about software packages, and she asked you, as an IT consultant, for your advice. When you evaluate software packages, what steps will you follow?

  Create flowchart of major steps for development processes

Consider the design development process. Create flowchart of major steps, processes, and milestones essential to conduct thorough DBMS design.

  Identify principle viewpoints of specification of system

Identify the principle viewpoints which might be taken into account in the specification of this system and organize these using a viewpoint hierarchy diagram.

  Design pseudocode and flowchart for swallowing a pill

Write a solution in pseudocode for swallowing a pill. Translate solution into flowchart. Write about which tool they like best and why? Which tool do they think would be easiest to learn?

  What is the need to identify test deliverables

What is a test plan? List out the processes that are covered in a test plan. What is the need to identify test deliverables?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd