Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package javaapplication6;
- import java.io.IOException;
- import java.util.Scanner;
- import java.math.MathContext;
- import javax.swing.JOptionPane;
- /**
- *
- * @author Kalo Machado
- */
- public class JavaApplication6 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- int n1;
- int n2;
- char a;
- Scanner in=new Scanner(System.in);
- System.out.println("n1");
- n1=in.nextInt();
- System.out.println("n2");
- n2=in.nextInt();
- System.out.println("op");
- a=(char)System.in.read();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment