3.20 LAB: Smallest number Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3 316334.1338446.qx3zqy7 LAB ACTIVITY 1 import java.util.Scanner; public class LabProgram { public static void main(String[] args) { /* Type your code here. */ 0 00 3.20.1: LAB: Smallest number 7 Develop mode Submit mode Enter program input (optional) LabProgram.java 0/10 Load default template... Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 14RQ
icon
Related questions
icon
Concept explainers
Question

 

 

3.20 LAB: Smallest number
Write a program whose inputs are three integers, and whose output is the smallest of the three values.
Ex: If the input is:
7 15 3
the output is:
3
316334.1338446.qx3zqy7
LAB
ACTIVITY
∞ VOSAWNH
1 import java.util.Scanner;
3 public class LabProgram {
6
8
3.20.1: LAB: Smallest number
public static void main(String[] args) {
/* Type your code here. */
}
Develop mode
Submit mode
Run program
Enter program input (optional)
If your code requires input values, provide them here.
LabProgram.java
Input (from above)
Run your program as often as you'd like, before submitting for grading. Below, type any needed
input values in the first box, then click Run program and observe the program's output in the
second box.
LabProgram.java
(Your program)
0/10
Load default template....
Output (shown below)
Transcribed Image Text:3.20 LAB: Smallest number Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3 316334.1338446.qx3zqy7 LAB ACTIVITY ∞ VOSAWNH 1 import java.util.Scanner; 3 public class LabProgram { 6 8 3.20.1: LAB: Smallest number public static void main(String[] args) { /* Type your code here. */ } Develop mode Submit mode Run program Enter program input (optional) If your code requires input values, provide them here. LabProgram.java Input (from above) Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. LabProgram.java (Your program) 0/10 Load default template.... Output (shown below)
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT