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

  Provide a diagram of how the three sites interconnected

Servers, domain controllers and printer addresses should be statically assigned while clients/tablets will be DHCP-based

  Show how various sampling methods can be used

CS544 Final Project - Draw various random samples of the data and show the applicability of the Central Limit Theorem for this variable and show how various sampling methods can be used on your data.

  Did the student complete a bia plan based on inputs

Did the student complete a BIA plan based on inputs from the instructor regarding feedback on submitted work? Did the student include the primary objectives.

  Write client program that uses the stack abstract data type

Write a client program that uses the Stack abstract data type to compile a simple arithmetic expression without parentheses. For example, the expression

  How are authentication and authorization alike

How are authentication and authorization alike and how are they different? What is the relationship, if any, between the two? The response must be typed.

  List the materials of machining cutting tools

List the materials of machining cutting tools. Which is the softest and which is the hardest material? What is the effect of material strength on the tool.

  This is a term long project and has 4 phases in phase 4

you have been hired as cio for a small independent auto-parts store - northwest georgia auto parts. the store has

  Create a comprehensive test plan and build a prototype

Complete the design for the critical, core, risky, difficult (CCRD) use case; create a comprehensive test plan and build a prototype for the CCRD use case.

  Plot the data as discrete points

Plot this curve on the same gure as the circles above and manually change the y-axis limits to [-50; 200].

  What is the des

What are the substitution ciphers? How do they differ from one-time pads (OTP)? Which is better for the IS manager to employ and why.

  Describe what the procedure should accomplish

A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor are required.

  What addressing mode is most appropriate

Suppose n will be the result of an addition instruction and, thus, is not known statically. What addressing mode is most appropriate to use to access the data located in memory at an address that is n bytes larger than the contents of register X?

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