public class PROPUESTO13 {
public static void main(String[] args) throws IOException {
// TODO code application logic here
int a,b;
String S;
BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
System.out.print("Primer numero:");
a=Integer.parseInt(in.readLine());//ojo
System.out.print("Segundo numero:");
b=Integer.parseInt(in.readLine());//ojo
if (a==b){
S="Iguales";
}else{
S="Diferentes";
}
System.out.println("");
System.out.println("Son:"+S);
}
}
No hay comentarios:
Publicar un comentario