kalo93

Untitled

Feb 11th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. package javaapplication6;
  2. import java.io.IOException;
  3. import java.util.Scanner;
  4. import java.math.MathContext;
  5. import javax.swing.JOptionPane;
  6.  
  7. /**
  8. *
  9. * @author Kalo Machado
  10. */
  11. public class JavaApplication6 {
  12.  
  13. /**
  14. * @param args the command line arguments
  15. */
  16. public static void main(String[] args) {
  17. // TODO code application logic here
  18. int n1;
  19. int n2;
  20. char a;
  21. Scanner in=new Scanner(System.in);
  22. System.out.println("n1");
  23. n1=in.nextInt();
  24.  
  25.  
  26. System.out.println("n2");
  27. n2=in.nextInt();
  28. System.out.println("op");
  29. a=(char)System.in.read();
  30.  
  31.  
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment