Your boss comes up to you with the following problem, Hi there, it's me, your boss...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your boss comes up to you with the following problem, "Hi there, it's me, your boss and (obviously) best friend Mrs. Bossenstein. I have a list of all of our employees and I want to figure out the average salary we are paying out." Your goal is to do the following: 1. Define the input to the problem (remember, this should be something like "a set of names" or "a list of Y"). You can also use this area to declare "variables" or "parameters". Example: Let N be a list of employee names. 2. Define the output to the problem. What will your algorithm return? 3. Write an algorithm, using pseudocode, to solve the problem. Make sure you accept the input you declared and return the appropriate output! Your boss comes up to you with the following problem, "Hi there, it's me, your boss and (obviously) best friend Mrs. Bossenstein. I have a list of all of our employees and I want to figure out the average salary we are paying out." Your goal is to do the following: 1. Define the input to the problem (remember, this should be something like "a set of names" or "a list of Y"). You can also use this area to declare "variables" or "parameters". Example: Let N be a list of employee names. 2. Define the output to the problem. What will your algorithm return? 3. Write an algorithm, using pseudocode, to solve the problem. Make sure you accept the input you declared and return the appropriate output!
Expert Answer:
Answer rating: 100% (QA)
1 Input Let S be a list of employee salaries 2 Output The average salary of al... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
: (i) What data structures are maintained by the page manager. (ii) What happens when a machine performs a read operation to a page. (iii) What happens when a machine performs a write operation to a...
-
(i) Write down the linear program relaxation for the vertex cover problem and solve the linear program. [6 marks] (ii) Based on the solution of the linear program in (b)(i), derive an integer...
-
Write a detailed executive summary about the appropriation and advancement of Information and Communication Technology (ICT)
-
A political candidate is planning his media budget for an upcoming election. He has $90,500 to spend. His political consultants have provided him with the following estimates of additional votes as a...
-
Two blocks are connected by a string, as shown in FIGURE 6-44. The smooth inclined surface makes an angle of 42 with the horizontal, and the block on the incline has a mass of 6.7 kg. Find the mass...
-
Outline the various issues related to project budgeting.
-
Arbor Corporation's financial statements for 2011 showed the following: Income Statement Revenues ......... $300,000 Expenses .......... (196,000) Interest expense ....... (4,000) Pretax income...
-
Collaboration with others is important because completing complex work depends on key relationships between functional areas in organizations and cross-functional pollination of ideas. Collaborative...
-
1 pts Calculate the refining margin for crude oil X in $ per barrel. Type the margin into the blank to two decimal places. Do not type the $ sign. So if you calculate the answer to be 5.30, type 5.30...
-
The Fibonacci numbers are defined by the sequence After that, discard fold2, which is no longer needed, and set fold2 to fold1 and fold1 to fnew. Repeat an appropriate number of times. Implement a...
-
Write a program that draws a picture of a house. It could be as simple as the accompanying figure, or if you like, more elaborate (3-D, skyscraper, marble col umns in the entryway, whatever)....
-
The LocalDate class describes a calendar date that does not depend on a location or time zone. You construct a date like this: Your task is to write a program that prints The weekday of Pi day, that...
-
Implement a class Car with the following properties. A car has a certain fuel efficiency (measured in miles/gallon or liters/kmpick one) and a certain amount of fuel in the gas tank. The efficiency...
-
Look into the API documentation of the String class and locate the trim method. Write a program demonstrating what it does. Then show how you can use the replace method to remove all spaces from a...
-
Write a research paper on the article "the effect of organized support groups for females ages 18-25 in the U.S. who suffer from mental illnesses."
-
Chao, Louis, and Mari, unrelated individuals, own all of the shares of Cerise Corporation. All three shareholders have been active in the management of Cerise since its inception. In the current...
-
An open concrete flume is to be constructed to carry water from a plant unit to a cooling lake by gravity flow. The flume has a square cross section and is $1500 \mathrm{ft}$ long. The elevation at...
-
A roof drains into a gutter, which feeds into a downspout with a square cross section (4 in. $x$ 4 in.). The discharge end of the downspout is $12 \mathrm{ft}$ below the entrance and terminates in a...
-
A concrete-lined drainage ditch has a triangular cross section that is an equilateral triangle, $8 \mathrm{ft}$ on each side. The ditch has a slope of $3 \mathrm{ft} / \mathrm{mile}$. What is the...
Study smarter with the SolutionInn App