Demonstrate the worlds fastest human

Assignment Help JAVA Programming
Reference no: EM131591756

You have been assigned as the lead programmer for the World Track and Field Championships! The 100 meter dash is one of the highlights of this competition and is considered by many to demonstrate the world's fastest human. Your job is to take the top finish time (given in seconds with two digits of precision to the right of the decimal point) for the 100 meter dash and do some conversions to find out how fast the person was traveling in:

- meters per second
- feet per second
- kilometers per hour
- miles per hour

In addition, you must also determine how long it would take the person to run one mile. And finally, you must determine how long it would take the person to run 100 yards.
Your program design should make use of java methods to properly encapsulate variables and processing.
The result of each conversion you perform should be displayed and clearly labeled, as demonstrated in the sample "run" below (NOTE: the actual numeric results are not displayed - that is for you to figure out):
Example run:

Please enter the winning time of the race: 15.00

The person was traveling at a rate of:

x.xx meters per second,

y.yy feet per second,

z.zz kilometers per hour,

y.yy miles per hour,

It would take m minutes and n.nn seconds for the person to run one mile.

It would take t.tt seconds for the person to run 100 yards. Programming Principles I 1/7/2015

It is your job to figure out the conversions necessary to determine the necessary output based on the above (NOTE: it is also your job to format your output in the same style as shown).

Your solution must be designed modularly.

A zip file containing:
- Your java code - class is named Track.java.
- A text file showing three sample runs (capture you output in the jGrasp console window -right-click).

Reference no: EM131591756

Questions Cloud

Best practice financial management : Senior healthcare management leaders must be efficient and effective in managing organizations that are constantly prone to change.
Use the three notions of present value-future value and irr : Would you give the same answer if the interest rate were 2%? use the three notions of present value, future value and IRR.
What are design patterns and why do we use them : What are design patterns? Why do we use them? Select and submit a Creational Design Pattern; explain why you selected that particular pattern.
Health services manager : Based on the material in this week's readings and your own online research, identify an area of ACA that directly impacts healthcare
Demonstrate the worlds fastest human : Demonstrate the worlds fastest human. Your job is to take the top finish time given in seconds with two digits of precision to the right of the decimal point
Type of businees interference claim : Medhealth,Inc. is a medical technology company that competes with fro customers with McLaren Health Care Corporation. Margaret worked for Medhealth as a sales m
Discuss the cash outflow obligations : The financial statements of Marks and Spencer plc (M&S) are available at the book's companion website or can be accessed.
Watch the health assessment vignette : Explain what neurological assessment data should be collected from the patient to ensure any neurological deficit is identified?
What ethical issues arise with use of information systems : Information is data that is framed in a specific context. What ethical, social, and political issues arise with the use of information systems?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Discuss a website that utilizes json

A website that utilizes JSON. Review the website source, and evaluate how the author created the pages - Identify what you liked or did not like

  Create a class named purchase

Create a class named Purchase. Each purchase contains an invoice number, amount of sale, and amount of sales tax. Include set methods for the invoice number and sale amount.

  Write a java program to accept integer values

Write an algorithm, draw a flow chart and write a java program to accept integer values from keyboard and will find and print the minimum, maximum, summation and average of entered numbers when the number entered from keyboard is smaller than 1

  Create a graphical user interface that has two buttons

Create a Graphical User Interface that has two buttons and a textArea. Create a String array to store the following messages (Enter your name where it says YourName).

  Calls the function readarray to read data into the array

Write a function void readArray(int arr[], int length) to read in length many values into the array arr.

  Object oriented programming-getting started with classes

Suppose you are car shopping and want to store information about possible choices. Model, and implement an automobile class. Use a UML drawing tool such as Umbrello or Microsoft Visio to create a class diagram. Your class should have at least cons..

  Implement a fastdefaultlist class that represent

Implement a FastDefaultList class that represents an infinite list with indices 0,1,2,3,...,∞ When we start, every value in this list is assigned the default value null.

  Implement the nested loops

The user has also already entered a mystery number they want the following series to calculate based upon their current numbers (also relatively logical in size).

  Write a static method named showtwos

Write a static method named showTwos

  Create a sub-method to read the grades

Create a sub-method to read the grades, store the grades in a two-dimensional array (grade book), and then return the grade book to the caller

  Define responsive design

Define Responsive Design and clarify what techniques can be used to create a responsive design for a web application? Explain what makes jQuery Mobile different from other JavaScript libraries such as jQuery and jQueryUI

  Write a program to simulate the behavior of the philosophers

Write a program to simulate the behavior of the philosophers, where each philosopher is a thread and the chopsticks are shared objects.

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