Ask for times for each race in hours-minutes and seconds

Assignment Help Computer Engineering
Reference no: EM132151518

Your teacher runs a lot of marathons. Write a C# program to allow him to find his fastest, slowest and average time of up to 10 races.

Your program should ask for times for each race in hours, minutes and seconds. After 10 races have been entered or the user has typed -1 (to indicate the end of input) you will provide the following output:

Race 1: {time}
Race 2: {time} **FASTEST**
....
....
Race {n-1}: {time} **SLOWEST**
Race {n}: {time}

Average time: {time}

You will need to store the input in an array so that you can output them at the end. Obviously the words FASTEST and SLOWEST should be on the correct line.

You may not use any built in functions on the arrays to calculate the fastest, slowest and average. Average should be rounded to the closest second.

Reference no: EM132151518

Questions Cloud

What is the probability of drawing a club : One card is selected randomly from a standard 52-card deck. a. What is the probability of drawing a club?
Write a test program to test your class implementations : Write a program that defines a class Date and implement it as required. The class Date should consist of three private member variables.
Prepare a functional description on the selected system : Prepare a functional description on the selected system (a collection of related programs) or program.
How you would approach testing the qc managers : Explain how you would approach testing the QC managers' concern. What type of tests/CI you would construct to help him make a decision?
Ask for times for each race in hours-minutes and seconds : You will need to store the input in an array so that you can output them at the end. Obviously the words FASTEST and SLOWEST should be on the correct line.
Which of the following statements are true : Suppose that the last RTT sample at host A is 10 msec. The current value of the RTT estimate must be greater than or equal to 10 msec.
Write a program that reads any number of integers : Your task is to write a program that reads any number of integers from the console (via a Scanner ), stores them in an ArrayList , removes.
Hypothesis for the sample mean and test the hypothesis : State the null and alternate hypothesis for the sample mean and then test the hypothesis to see if you will accept or reject the hypothesis.
Alternate hypothesis for the sample mean : State the null and alternate hypothesis for the sample mean and then test the hypothesis to see if you will accept or reject the hypothesis.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Prompt for the length in metres using python code

Your program should then do three conversions to output the equivalent distance in feet, yards, and miles.

  Discuss the cia triad

Discuss the CIA triad? What does it stand for? How does it fit in within cryptography? The response must be typed, single spaced.

  Define use of service-oriented architecture and why

Giving reasons for your answer, suggest two types of applications where you would not recommend the use of service-oriented architecture and why.

  How many element in the array is above the average

Write the void function generate(int N, in A[ ]) that generates and prints N numbers each between 12 and 83 inclusive.

  Identify the business problems that topbike has

Identify the business problems that TopBike has. Determine the analysis technique for this project and explain why. Determine the methodology for this project and explain why.

  Questionyou identified use cases and considered domain

questionyou identified use cases and considered domain classes for the state patrol ticket processing system. review

  Approaches to reduce material cost in a cloud based solution

Identify 2-3 approaches to reduce material cost in a cloud based solution. Identify an example or make one up where ITD's resulted in substantial reduction.

  Write down a 2-3 page paper that answers the questions

write a 2-3 page paper that answers the questions below. be prepared to fully support your answers. explain in your own

  List and describe the stages of an lca

List and describe the stages of an LCA. List and describe the key elements of an LCA. List and describe the impact metric (factors) of an LCA.

  Create an nds or active directory tree structure

Create an NDS or Active Directory tree structure for one of the segment of the company at which you are employed.

  Describe how the developer and you can make this tool easy

Explain the project's goals and indicate why you included the requirements, time frames, and necessary tasks that you did.

  Discuss why knowledge management km is important

Why Knowledge Management (KM) is important. How the company/organization manage their resources/talent/etc.

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