Pre-lab Exercise Objectives • 20 array (Data processing) Problem Description write and run a program that performs the f
Posted: Sat May 14, 2022 8:14 pm
Pre-lab Exercise Objectives • 20 array (Data processing) Problem Description write and run a program that performs the following o creates a float 4 x 2 two-dimensional array named temp (which represents the weather temperature values for week's working days in the morning and in the evening) o Fills the array with the temperature values entered by the user, where the user enters for each day two temperatures, in the morning and the evening Prints the array elements in a 4.2 tabular format as follows (assuming that the shown values are entered by the user) Morning Evening Day 1 123 19 Day 2 24 18 Day 3 his Day 4 14 18 20 Page 1 of Converts all temperatures to "F o Swaps Day 1 and Day 4 temperatures • Reprints the temperature array after the above modifications o Creates a float 1D array of 4 elements, samed morning Fills the array morning) by the elements of the first column of temperature array Prints the morning temperatures during the week's working days in the morning array as shown below. Sample Output Please, input the temperature values for the week's working days in the morning the evening 23 19 24 18 NX 98 量,虽害,这 15 20 Evening Morning 23 Day! 19 Marning 71.6 Evening 0.8 Day