import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print(“Enter the first complex number: “);
double a = input.nextDouble();
double b = input.nextDouble();
Complex c1 = new Complex(a, b);
+ c1.multiply(c2));
System.out.println(“(“ + c1 + “)” + ” / “ + “(“ + c2 + “)” + ” = “
+ c1.divide(c2));
System.out.println(“|” + c1 + “| = “ + c1.abs());
class Complex {
// Write your code
}
Submit the following items:
1. Print this Word file and Submit to me before the class on the due day.
2. Compile, Run, and Submit to LiveLab (you must submit the program regardless
whether it complete or incomplete, correct or incorrect)