Page 1 of 1

Question 1 Apply the while and switch flow control structures to write a program that produces the outputs corresponding

Posted: Sun May 15, 2022 1:51 pm
by answerhappygod
Question 1 Apply The While And Switch Flow Control Structures To Write A Program That Produces The Outputs Corresponding 1
Question 1 Apply The While And Switch Flow Control Structures To Write A Program That Produces The Outputs Corresponding 1 (107.94 KiB) Viewed 53 times
Question 1 Apply the while and switch flow control structures to write a program that produces the outputs corresponding to the relevant inputs as shown in the table below. Your program should continue to prompt user for input and output the Season Name until the number -1 is entered to terminate the program. If invalid Month Number (0, or > 12) is entered, the program should generate an error message. Output: Season Name Input: Month Number 1 2 3 4. 5 Spring Summer 6 7 8 Autumn 9 10 11 12 Winter (10 marks)