Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ex11;
- import java.util.Scanner;
- public class ex1 {
- public static void main(String[] args) {
- Scanner sc = new Scanner(System.in);
- int numeros;
- numeros = 1;
- do{
- System.out.println(numeros++);
- }while(numeros <=10);
- }
- }
- // imprimir de 1 atΓ© 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement