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

  Program to display information about balance in account

Design an ordinary text file named solution06.txt. In that file, enter text required to make a web page that will display information about balance contained in family's account.

  Write program to calculate distance and time hurricane take

Write C++ program that will calculate the distance and time it will take (days/hours) for hurricane to reach Ft. Lauderdale if: Hurricane is at coordinates 16 N, 64 W, just SE of South Fla. off in Atlantic, with a speed of 20 mph.

  Write client-side javascript function to convert ampersands

Your job is to write a client-side JavaScript function that converts all ampersands in a form field to the text string " and " when the form loses focus on the textbox in question.

  Write program in mips to compute average of series of number

Write program in MIPS which computes average of a series of entered numbers. User will enter a sequence of integers. When the user enters a negative number.

  How to complete input assertion and output assertion

Complete input assertion and output assertion which will guarantee that student always ends game passing class. Add assertions and invariants which can help reason about claim.

  Using the irvine32 library functions

Create 32 random points which have (x, y) co-ordinates

  Activity for pdus on project management institute-s web site

Several activity categories are given as qualifying for PDUs on project Management Institute's Web site. Recognize  these categories. In which categories would you place Chris's experience?

  Write down the application which makes a quiz

Write down the application which makes a quiz which comprises at least three questions about hobby, music, or any other personal interest.

  Calculate the total price based on several key parts

Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.

  Write program to print names of files with similarity

Write down the program which prints names of two files with highest similarity among files in collection, and names of two files with lowest similarity.

  Use-professional translator in creting website-other country

When and why would you need to use the services of a professional translator to help prepare your website for an audience in another country?

  Travelling salesman problem

Travelling Salesman Problem on the L1-metric plane.

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