Second array contains the number of athletes

Assignment Help Business Management
Reference no: EM131960411

Pseudocode please.

1. You are given input that contains the names of the sports in the Olympic and the number of athlete that play in each sport. You are asked to design a program using pseudocode to print the sport names, number of athletes in each department and total number of athletes for all sports. You should store the sport names into an array named Sport and store in a second array named Athletes the number of athletes in each department. A sentinel value of XXXXXX (can be a 99999) will be used for the sport name to signal the end of file. 

You are to develop separate modules for each processing step listed below:

  • Input sport names into an array named Sports and the number of athlete into an array named Athletes.
  • Print the sport names and athletes in each sport.
  • Calculate and print the total number of athletes in all sports.

2. You are given two arrays the first array contains the sports at a sporting event and the second array contains the number of athletes playing in each sport.

Use the arrays to design modules using pseudocode that will:

  • Calculate and print the number of athletes and sport name for all sports with less than 25 athletes.
  • Calculate and print the average number of athletes in all of the sports.
  • Print the number of athletes and sport name for the first sport with less than 25 athletes

Reference no: EM131960411

Questions Cloud

Review the ui design patterns for inspiration : Discuss how you could simplify the long form for an end user. You may want to review the UI design patterns for inspiration.
Enduring dilemmas of indigenous health : The words should be around 250-260. The subject is related to Health science. Use simple words and sentences. Enduring dilemmas of Indigenous health
Find the current news about the sustainability issue : Read the prompt and find the current news about the sustainability issue. Write the summary of the news.
Write paper about the effect of unemployment in saudi arabia : Write 4-5 pages of Literature Review paper about the The effect of unemployment in Saudi Arabia.
Second array contains the number of athletes : You are given two arrays the first array contains the sports at a sporting event and the second array contains the number of athletes playing in each sport.
Describe the factors that differentiated worst experience : Describe the factors that differentiated the worst experience from the best.
What is the highest accuracy you are able to achieve : Use accuracy score from sklearn.metrics as your evaluation metric. What is the highest accuracy you are able to achieve?
What light does the story of shark culling : What has caused public opinion to turn against the Western Australian Government and how effective do you consider the Government's efforts at managing
What is the stock current price : The required rate of return is rs = 10.5%, and the expected constant growth rate is g = 5.5%. What is the stock's current price?

Reviews

Write a Review

Business Management Questions & Answers

  Formulated and implemented a blue ocean strategy

Could an investor beat the stock market and generate a superior return with companies that have formulated and implemented a blue ocean strategy? Why or why not? Elaborate through at least two concrete examples

  Motivating employees to take on additional

motivating employees to take on additional responsibilitiesif you are assigned a supervisory role at work how can you

  Prepare strategic objectives for your new division

Prepare strategic objectives for your new division of the existing business in a balanced scorecard format in the context of key trends, assumptions and risks.

  Calculate the earned value

A. Project A was budgeted at $50,000and itis 60% complete. Calculate the earned value. EV =

  Importance of incorporating social media into a business

Compare different social media sites and identify their key cool features. Identify which social media site is appropriate for which types of business.

  Find at least one peer-reviewed research article

Find at least one "peer-reviewed (refereed)" research article for your term paper. Don't search too narrowly - for example, "General Mills problems.

  Additional education in addiction counseling

Why would additional education in addiction counseling be beneficial to your practice as a human services provider?

  Aspects of facility and equipment management

What are the key aspects of facility and equipment management?

  Federal glass ceiling commission

However, according to the Federal Glass Ceiling Commission, the glass ceiling refers to "the unseen, yet unbreakable barrier that keeps minorities and women from rising to the upper rungs of the corporate ladder, regardless of their qualifications..

  Importance of eliminating wait timeseveryone hates to wait

importance of eliminating wait timeseveryone hates to wait to receive their service or product. from waiting in line at

  Physical presence of jesus

1. One of the best arguments that Heaven is real is the physical presence of Jesus. 2. God designed hell to punish those angels that rebelled against his authority. 3. What does immanency mean? Christ could return at any time

  Comparisons with the trends in other countries

Describe some of the major trends in the diversity of the U.S. workforce. Provide comparisons with the trends in other countries

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