Question: I am missing x = and y =. Please help. LAB ACTIVITY 4.16.1: LAB: Brute force equation solver 4/10 LabProgram.java Load default template... 1 import


I am missing x = and y =. Please help.
LAB ACTIVITY 4.16.1: LAB: Brute force equation solver 4/10 LabProgram.java Load default template... 1 import java.util.Scanner; 2 public class LabProgram { 3 public static void main(String[] args) { 4 Scanner scan = new Scanner(System.in); 5 int x1, yl, x2, yz, z1,z2; 6 x1 = scan.nextInt(); 7 y1 = scan.nextInt(); 8 zl = scan.nextInt(); 9 10 x2 = scan.nextInt(); 11 y2 = scan.nextInt(); 12 z2 = scan.nextInt(); 13 14 boolean haveSolution = false; 15 int resX = 0, resY = 0; 16 for(int x=-10;x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
