Advertisement
nRikee

Conversaciones estúpidas

Sep 30th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. public class ConversacionEstupida{
  2.     public static void main(){
  3.         Scanner tec = new Scanner(System.in);
  4.  
  5.         System.out.println("¡Hola!");
  6.         String x = tec.next();
  7.         System.out.printl("¿Qué tal?");
  8.         x = tec.next();
  9.         System.out.println("También.");
  10.  
  11.         System.exit(0);
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement