Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class fsfs {
- /**
- * @param args
- */
- public static void main(String[] args) {
- int []par = new int [20];
- int []impar = new int [20];
- for(int i = 0; i<20; i++){
- if(i % 2 == 0){
- par[i]= i;
- System.out.println("par "+i);
- }else{
- impar[i] = i;
- System.out.println("impar "+i);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement