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:
larger in a presentation, smaller on a document.
Explanation:
this makes it easier to tell which is which.
I’m sorry and I do not know I just need credits thank have a nice day