This is a programming assignment and it needs you to write

Assignment Help Programming Languages
Reference no: EM13465627

This is a programming assignment, and it requires you to write the pseudocode for a program that solves the following problem:

The user is prompted to enter exactly ten employee names and salaries, which must be stored in parallel arrays. After the ten employee names and salaries have been entered, the program will use the parallel arrays to calculate and display the following information to the user:

The mean (average) salary
The names of any employees whose salaries are equal to the mean salary

Please read the problem description above carefully so that you know exactly what the program is supposed to do. Understanding the problem is part of the programming process. Follow the program requirements precisely. Here are some hints:

As the user enters each name and salary, use a variable to total the salaries as they are being entered. When finished, use that variable to determine the mean salary. An alternate approach is to step through the salaries array after all names and salaries have been entered to calculate the sum of the salaries and determine the mean salary.

The mean (average) salary is calculated by dividing the sum of all employee salaries by the number of employee salaries.

Loop through the salaries array again, compare each salary to the mean salary, and display the corresponding employee's name if the salary is equal to the mean salary.

Reference no: EM13465627

Questions Cloud

Print media advertising pma has been given a contract to : print media advertising pma has been given a contract to market buzz cola via newspaper ads in a major southern
In this assignment you will make an in-depth comparative : in this assignment you will prepare an in-depth comparative analysis research paper between two different firms
Recognize all the potential security threats on a personal : computer security is not an issue for organizations alone. anyone whose personal computer is connected to a network or
Failure to comply with the employment laws can result in : failure to comply with employment laws can result in serious consequences. which laws have the most serious
This is a programming assignment and it needs you to write : this is a programming assignment and it requires you to write the pseudocode for a program that solves the following
To what extent has public health contributed to : to what extent has public health contributed to improvement in health status and quality of life throughout history?in
Recognize the single disease which significantly increases : the us census bureau reports that there are nearly seven billion people in the world us census bureau 2011. the
Why do you think it is significant for hr to be strategic : 1. why do you think it is important for hr to be a strategic partner to the business?2. what benefits do you think the
Hw has the system installed by dtis helped integrate : how does porters competitive forces model help companies develop competitive strategies using information systems?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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