Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- class prueba1{
- static Scanner teclado = new Scanner(System.in);
- static String frase = "Escribe 0 รณ 1: ";
- static int numero = 1;
- public static void main(String args[]){
- do{
- System.out.println(frase);
- numero = teclado.nextInt();
- }while( numero>=1 );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement