MCPcopy Create free account
hub / github.com/JerePrograma/FullStackEgg / sumar

Method sumar

Etapa2POO/Ejercicio3/src/entidad/Operacion.java:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 public int sumar() {
54 int suma = this.numero1 + this.numero2;
55 System.out.println("La suma de los números es: " + suma);
56 return suma;
57 }
58
59 public int restar() {
60 int resta = this.numero1 - this.numero2;

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected