/** * Author: Josiah Yoder et al. * User: yoder * Class: SE1011-011 * Date: 10/21/13 1:18 AM * Lesson: Week 7, Day 1 */ import java.util.Scanner; public class Example011_7_1 { public static void main(String[] ignored) { Scanner in = new Scanner(System.in); Complex011_7_1 complex = new Complex011_7_1(3,4); // System.out.println("Please enter the real part"); // error System.out.println("Please enter the imaginary part"); double input = in.nextDouble(); // complex.addImaginary(double imagineN); // error complex.addImaginary(input); } }