package com.company;

/**
 * Created by Ritanadis on 13/07/2017.
 */
public class Birds {

    public void birdNames() {
        String[] birdNames = new String[7];
        birdNames[0] = "Ostrich";
        birdNames[1] = "Owl";
        birdNames[5] = "Eagle";
        birdNames[3] = "Vulture";
        birdNames[4] = "Parrot";
        birdNames[2] = "Pigeon";
        birdNames[6] = "Woodpecker";

        System.out.println(birdNames[3]);
        System.out.println(birdNames[0]);

        for (int i = 0; i < birdNames.length; i++) {
            System.out.println(birdNames[i]);
        }
    }
}
@@ -498,16 +498,16 @@
 int 
-i
+n
  = 0; 
-i
+n
  %3C b
@@ -523,17 +523,17 @@
 length; 
-i
+n
 ++) %7B%0A  
@@ -546,41 +546,112 @@
     
-System.out.println(birdNames%5Bi%5D);
+if (birdNames%5Bn%5D == %22Vulture%22) %7B%0A                System.out.println(%22This bird is ugly%22);%0A%0A            %7D
 %0A   

Modifies a previous written code