Advertisement
Kyrexar

BS7

Feb 16th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. import java.util.*;
  2.  
  3. class prueba1{
  4.     static Scanner teclado = new Scanner(System.in);
  5.     static String frase = "Escribe 0 รณ 1: ";
  6.     static int numero = 1;
  7.    
  8.     public static void main(String args[]){
  9.         do{
  10.             System.out.println(frase);
  11.             numero = teclado.nextInt();
  12.         }while( numero>=1 );
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement