46 of 100 menu

Java Taskbook Level 5.6

Write a program that will find the roots of a quadratic equation. To do this, ask the user for three numbers that will be the coefficients of the equation.

Create the following array using loops:

int[] { {1, 2, 3}, {4, 5, 6}, {7, 8, 9}, }

Two numbers are given:

int num1 = 12345; int num2 = 45678;

Output to the console the numbers that are in both numbers.

enru