Answer:
System.out.println(monthSales[9]);
Explanation:
Since the array is called monthSales of type int and represents the months January - December, Its declaration in Java will be as follows:
int [] monthSales = new int[12];
This array contains 12 elements and it is indexed from 0-11 (i.e 0 for january and 11 for December)
The element corresponding to October which is the tenth month is at index 9
Hence the output statement System.out.println(monthSales[9]);
Answer:
for (char i='a'; i<='e'; i++){
for (char j='a'; j<='e'; j++){
cout << i<< j<< "\n";
}
}
Explanation:
The loop runs all characters from the inner while the outer holds one character, by doing so, a will be matched with a,b,c,... Like wise b,c,d,... and on it goes.
Answer:
yeah u should watch the Knight of Zodiac
Explanation: