Skip to content

Commit

Permalink
Apartado d
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalbizu committed Mar 4, 2022
1 parent 0ea4607 commit 7d38fed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/java/contornos_4/NewMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class NewMain {

public static void main(String[] args) {
System.out.println(Sumador.sumar(15f, 4f));
System.out.println(Restador.restar(15f, 4f));
}

}
8 changes: 8 additions & 0 deletions src/main/java/contornos_4/Restador.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package contornos_4;

public class Restador {

public static float restar(float a, float b) {
return a - b;
}
}
9 changes: 0 additions & 9 deletions src/main/java/contornos_4/Sumador.java

This file was deleted.

0 comments on commit 7d38fed

Please sign in to comment.