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;
- for(numeros = 1; numeros <=30; numeros++){
- if(numeros % 2 != 0){
- System.out.println(numeros);
- }
- }
- }
- }
- // nรบmeros รญmpares de 1 ร 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement