Skip to content

Commit

Permalink
Correcciones
Browse files Browse the repository at this point in the history
  • Loading branch information
fpieschaconr committed May 22, 2019
1 parent ecb8d37 commit 4cb231b
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 18 deletions.
62 changes: 55 additions & 7 deletions test/menu/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added test/menu/out/production/menu/Multiplicacion.class
Binary file not shown.
Binary file added test/menu/out/production/menu/Resta.class
Binary file not shown.
Binary file added test/menu/out/production/menu/Sumatoria.class
Binary file not shown.
Binary file modified test/menu/out/production/menu/menu.class
Binary file not shown.
8 changes: 0 additions & 8 deletions test/menu/src/Resta.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package resta;

import java.util.Scanner;

/**
*
Expand Down
6 changes: 3 additions & 3 deletions test/menu/src/menu.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void main(String[] args) {
System.out.println("Segundo entero");
b = sn.nextInt();
c = Sumatoria.suma(a,b);
System.out.println(a +" + "+ b + "= "+ c);
System.out.println(a +" + "+ b + " = "+ c);
break;
case 2:
System.out.println("Resta");
Expand All @@ -39,7 +39,7 @@ public static void main(String[] args) {
System.out.println("Segundo entero");
b = sn.nextInt();
c = Resta.resta(a,b);
System.out.println(a +" - "+ b + "= "+ c);
System.out.println(a +" - "+ b + " = "+ c);
break;
case 3:
System.out.println("Multiplicacion");
Expand All @@ -48,7 +48,7 @@ public static void main(String[] args) {
System.out.println("Segundo entero");
b = sn.nextInt();
c = Multiplicacion.multiplica(a,b);
System.out.println(a +" X "+ b + "= "+ c);
System.out.println(a +" X "+ b + " = "+ c);
break;
case 4:
salir = true;
Expand Down

0 comments on commit 4cb231b

Please sign in to comment.