69 67 95 12 Problem 5 Following Table Lists Temperature Different Points 2d Space 21 85 66 Q43893353
Using Fortran

69 67 95 12 Problem 5: The following table lists the temperature at different points in the 2D space. 21 85 66 11 982 17 101 I56 120 Write a program that reads these values and replaces each element of this 2D array with the average of all elements that comes after the element in the row including the element that you want to replace. For example, the 21 will get replaced by the average of 21, 85, 69, 12, and 9: 85 will get replaced by the average of 85, 69, 12, and 9 and so on. Use different names for input and output arrays to avoid confusion. 77 Show transcribed image text 69 67 95 12 Problem 5: The following table lists the temperature at different points in the 2D space. 21 85 66 11 982 17 101 I56 120 Write a program that reads these values and replaces each element of this 2D array with the average of all elements that comes after the element in the row including the element that you want to replace. For example, the 21 will get replaced by the average of 21, 85, 69, 12, and 9: 85 will get replaced by the average of 85, 69, 12, and 9 and so on. Use different names for input and output arrays to avoid confusion. 77
Expert Answer
Answer to 69 67 95 12 Problem 5: The following table lists the temperature at different points in the 2D space. 21 85 66 11 982 17…
Related