Question: I pretty much have the code for this assignment. I can pass every single test until the input is 12, 12, 15. For some reason,
I pretty much have the code for this assignment. I can pass every single test until the input is 12, 12, 15. For some reason, the smallest number is 15 instead of 12. What do i need to change to make it say 12 and not 15. Java as you can see.

import java.util.Scanner;
public class LabProgram { public static void main(String[] args) { int a,b,c; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); if(a
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. Enter program input (optional) Program output displayed here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
