Answer:
        System.out.println("October is the "+monthSales[9]+"th Month of the year");
A complete Java program is given in the explanation section.
Explanation:
public class num4 {
    public static void main(String[] args) {
    int [] monthSales = new int[12];
    int i=0;
    for(i = 0; i<monthSales.length; i++){
        monthSales[i] = i+1;
    }
        System.out.println("October is the "+monthSales[9]+"th Month of the year");
    }
}
In the code above, we created an an array of size 12 with this statement
int [] monthSales = new int[12];
using the for loop, the numbers 0-12 are added to the array corresponding to the twelve months in the year
The statement   System.out.println("October is the "+monthSales[9]+"th Month of the year"); outputs the corresponding number to October
 
        
             
        
        
        
Answer:
Explanation:
In order to achieve the desired result, Jonathan should first apply a motion blur effect to the picture. This will cause the moving background objects to become blurred, out of focus, and appear as streaks of light since they are moving at a very fast speed. Next, Jonathan should apply an enhanced focus filter to the flag so that it stands out from the blurred background. These two effects/filters should let Jonathan achieve his desired result.
 
        
                    
             
        
        
        
Answer:
Find answers below
Explanation:
triangle_char = input('Enter a character: ')
triangle_height = int(input('Enter triangle height: '))
print('')
for j in range (triangle_height):
    print((triangle_char) * (j + 1))
#below are sample output that can be gotten with predefined values
$ ./triangles.py  
Enter characters: jk
Enter height: 8
j
jj
jjj
jjjj
jjjjj
jjjjjj
jjjjjjj
jjjjjjjj
k
kk
kkk
kkkk
kkkkk
kkkkkk
kkkkkkk
kkkkkkkk