Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package exercicios;
- public class ex9 {
- public static void main(String[] args) {
- for(int i = 0;i <50; i++){
- if(i % 2 != 0){
- System.out.println(i);
- }
- }
- }
- }
- //Programa que imprima apenas os numeros impares entre 1 e 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement