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

  Creating a vision and mission statement

The following fact pattern has an existing vision and mission statement created by Richard Purvis of the Jordan Shoe Company before he considered an expansion.

  Exercise of the sars

If Maria is in the 35 percent marginal tax bracket, what is her after-tax cash flow from the exercise of the SARs? Does Handcock Corporation get a tax deduction for the SARs and if yes, when and in what amount?

  Explain how do you think the growing use of telecommuters

Explain how do you think the growing use of telecommuters, temporary and part-time workers and virtual teams affect human resource management? Explain how can managers improve recruiting and retention of these employees?

  Develop an annotated bibliography had a significant impact

Prepare an annotated bibliography on one of the following factors that has had a significant impact on business and management communication in the past decade.

  Direction for a company by answering a simple question

A mission statement provides direction for a company by answering a simple question: What business are we really in?" (Hatten, 2012).

  Solutions to minimize the negative impacts

Discuss the anticipated impacts (both positive and negative) upon operating efficiencies, and recommend solutions to minimize the negative impacts. Discuss whether or not operating practices should be changed to accommodate the tune-ups.

  Consumer behavior-social group

Name five products or services that your social group uses a lot. State whether you agree or disagree with the notion that these products help to form group.

  Explain h-ds competitive advantage in global markets

Explain H-D's competitive advantage in Global Markets. Determine and explain entry strategies for global expansion. Recommend an Internet approach/strategy for H-D.

  Domestic events that could affect management careers

Explain an event, global or domestic in nature, which could affect your management career. How would you deal with this?

  Explain company legally change your job responsibilities

Explain company legally change your job responsibilities and reduce your salary and How would a union situation address this issue

  Conduct an industry analysis using porter five forces

Focusing on the company you are using for your final project, conduct an industry analysis using Porter's Five Forces and a SWOT analysis

  Research play in the development of an advertising

Describe the roles that general planning input, product-specific research, and qualitative research play in the development of an advertising campaign.

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