Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

In the spirit of the Tour de France, you have been asked to provide a program that calculates the speed of the 3 cycles based on its gears and compares the speed to an overall desired speed to determine which cycle to use:

a. Be able to handle up to 3 different cycles (Use can enter less than 3)
b. Enter the number of teeth for the main gear for each of the cycles (3 inputs)
c. Enter the revolutions per minute that the rider will pedal (3 inputs)
d. Enter the desired speed. (1 input)
e. Calculate the speed of each cycle
Formula 1: Speed of cycle = (RPMs * Number of Teeth) / 10
f. Calculate the Average Speed of the cycles
Formula 2: SUM of Formula 1 / (the number of cycles entered)
g. Determine which cycle is closest to the desired speed without being below:

h. Display all information 
Test Case and Output Format:
Bike: RPMs Teeth Speed (Calculated)

Schwinn 80 8 64
Trek 100 6 60
K2 70 12 84

Desired Speed: 61
Average Speed: 69.33
Closest cycle: Schwinn

Solution Criteria:

1. Solution should use arrays for data
2. Solution should use looping to process algorithms 

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M9483443

Have any Question?


Related Questions in Homework Help/Study Tips

Action research for educatorsassignment data literacy and

Action Research for Educators Assignment : Data Literacy and Action Research (P-12) Response to the following questions below: Using 300 words. APA style and reference. How is data used in your educational setting? In yo ...

Question discuss the attached handout on existential

Question: Discuss the attached handout on Existential Psychology. Explain the six propositions of this theory and give your opinion of each proposition and for the theory in general. Respond to at least one other student ...

Please number each questions1 how is the most successful

PLEASE NUMBER EACH QUESTIONS 1. How is the most successful insider fraud perpetrated? Give at least two specific examples. Your response should be a minimum of 225 words. 2. What is the Tor Network? Explain its threats. ...

In chapter 7 of your course text the authors lay out a

In Chapter 7 of your course text, the authors lay out a series of guidelines and suggested procedures for directors to follow as they recruit, interview, and hire candidates for positions in their child development cente ...

Qestion change is inevitable and it seems to be even more

Question: Change is inevitable, and it seems to be even more common as the world rapidly becomes globalized. You know that BANKS Industries is about to reorganize a number of departments, and your team is likely to be af ...

Performance objectiveyou will demonstrate the ability to

Performance objective You will demonstrate the ability to record revenue and expenses and complete a BAS (Business Activity)statement, taking advantage of GST credits in accordance with statutory requirements. Assessment ...

Question discuss the differences and similarities between

Question: Discuss the differences and similarities between Managed Care Organizations (MCOs) vs. Accountable Care Organizations (ACOs). Given the current health care environment, provide a solid speculation to how MCOs a ...

Diversity and familiesthroughout this course you have

Diversity and Families Throughout this course, you have learned about various aspects of multiculturalism. You have also been asked to critically analyze various components of culture and discuss how and whether they rel ...

Assignmentvarious categories or types of law exist within

Assignment Various categories or types of law exist within the United States. Identify and define three different types or categories of law. Compare and contrast how these various types or categories of law impact the c ...

Discussion 2 child welfare and family preservationan

Discussion 2: Child Welfare And Family Preservation An essential aspect of social work practice is the support and preservation of the family unit. Building and empowering strong, resilient families is a focus of social ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As