Coding Exercise: Arrays
Explore how to use arrays in C# by creating a console application that takes user input to display individual months or all months. Understand array indexing, input validation, and output formatting for effective data handling in programming.
We'll cover the following...
We'll cover the following...
Problem
In this exercise, an array stores months that are retrieved later. Write code for a console based “Months App” that meets the requirements listed below.
- If
userResponseis a number from1–12