[SOLVED] CPT121 Task 2.2.3. Practice Exercises -- Arrays

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon task_2_2_3-f2imkn.zip (86.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Task 2.2.3 Practice Exercises – Arrays

  1. Write a program which the user to enter the number of days in the month, prompts the user to enter the minimum and maximum temperature for each day in the month and calculates / displays the following statistics:
    • Average maximum and minimum temperatures across the month
    • Highest and lowest maximum temperature for the month
    • Highest and lowest minimum temperature for the month
    • Number of days with a maximum above the average temperature for the month

Noe that you should use arrays to mange the storing of the initial minimum and maximum temperature values entered by the user.

  1. Write a program which prompts the user to enter up to ten (10) movie titles, prompts the user to enter a keyword to search for, stores the movie titles in an array and then displays all movie titles which contain that keyword.

You may assume that the user will not enter more than ten (10) movie titles, but they may signal that there are no more movies to enter by hitting the enter key immediately without entering another movie title at any point during the input gathering process and thus the array should be considered to be “partially full”.

  • task_2_2_3-f2imkn.zip