Isaguirre_Resistors.java - Isaguirre Daniel G WTHFS 1:30-6:00 import java.util.Scanner public class Isaguirre_Resistors public static void main(String

Isaguirre_Resistors.java - Isaguirre Daniel G WTHFS...

This preview shows page 1 out of 1 page.

/** Isaguirre, Daniel G. WTHFS 1:30-6:00 */ import java.util.Scanner; public class Isaguirre_Resistors { public static void main(String[] args) { // this is the declaration of the class //object of the scanner class Scanner sc = new Scanner(System.in); System.out.println("Resistor Computation"); // get three registers System.out.print("Enter resistor1: "); Double resistor1 = sc.nextDouble(); System.out.print("Enter resistor2: "); Double resistor2 = sc.nextDouble();

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture