Lab 1.2 Exercises
1.2.1 Understand the Nature of Good Programming Practices
What is a top-down approach?
What is structured programming?
Create the following selection structure: Determine which season each month of the year belongs to.
Create the following iteration structure: For every day of the week display its name.
Create the following structure: For every day that falls within the business week, display its name. For every day that falls on the weekend, display "The weekend is here, and it is here to stay!!!" Hint: You will need to use iteration and selection structures. The selection structure must be placed inside the iteration structure.
1.2.2 Understand formatting Guidelines
What is the reason for formatting your code?
What are two main guidelines of good formatting?