iing Write a program that asks for the names of three runners and the time, in minutes, it took each of them to finish a race. The program should display the names of the runners in the order that they finished.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Provide source code from what I have in attached screen shot. Put the runners and their run time together and compare them to each other to get the order of run time to get the attached assignment done.
Do not use LOOP method, please use 'if, if else' or 'boolean' for the source code. Never learned the LOOP method yet.
![11. Running the Race
Write a program that asks for the names of three runners and the time, in minutes, it took
each of them to finish a race. The program should display the names of the runners in the
order that they finished.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3e484d43-c7d4-4e91-b441-5ffb05728204%2F52897590-13d3-432e-a5c4-3cccc9817ee5%2Foh95nn_processed.png&w=3840&q=75)
![race - Notepad
File Edit Format View Help
import java.util.Scanner;
public class race {
public static void main(String[] args) {
Scanner keyboard = new Scanner (System.in);
System.out.println("Runner1's name: ");
String r1 = keyboard.nextline();
System.out.println("Runner2's name: ");
String r2 = keyboard.nextline();
System.out.println("Runner3's name: ");
String r3 = keyboard.nextline();
System.out.println("Runner1's time: ");
Float t1 = keyboard.nextFloat();
System.out.println("Runner2's time: ");
Float t2 = keyboard.nextFloat();
System.out.println("Runner3's time: ");
Float t3 = keyboard.nextFloat();
}
Ln 1, Col 1
100%
Windows (CRLF)
UTF-8](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3e484d43-c7d4-4e91-b441-5ffb05728204%2F52897590-13d3-432e-a5c4-3cccc9817ee5%2Flbrqofn_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)