{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EnterosApp - double n3 = teclado.nextDouble d num = new...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.io.*; import java.util.*; i public class EnterosApp{ p public static Enteros num; public static Scanner teclado; p public static void main(String args[]){ p teclado = new Scanner(System.in); t System.out.println("Ingresa el valor de X:"); double n1 = teclado.nextDouble(); System.out.println("Ingresa el valor de Y:"); double n2 = teclado.nextDouble(); System.out.println("Ingresa el valor de Z:");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: double n3 = teclado.nextDouble(); d num = new Enteros(n1, n2, n3); n System.out.println("\nLa operación de x / y es: " +num.op1()); System.out.println("La operación de x modulo y es: " + num.op2()); System.out.println("La operación de x / y - z es :" + num.op3()); System.out.println("La operación de x / (y - z) es :" + num.op4()); S } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online