Design a program that displays the number of days in each month. The programs output should be

Question:

Design a program that displays the number of days in each month. The program’s output should be similar to this:image text in transcribedimage text in transcribed

The program should have two parallel arrays: a 12-element String array that is initialized with the names of the months, and a 12-element Integer array that is initialized with the number of days in each month. To produce the output specified, use a loop to step through the arrays getting the name of a month and the number of days in that month.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: