Computer Science, asked by jhanavishal2008, 7 months ago

write a C program to get user input for recording the temperature using array concept
pls say faster.........​

Answers

Answered by chintalauma267
0

Answer:

Here we will write a C program to store display temperature of two cities for week. The prerequisite concept, what is a two-dimensional array. Using this example we will learn how to take input from the user and display it for multidimensional array

Explanation:

For multidimensional array many for loops needed. If we are working with one-dimensional array (simple array) then we require one for loop. If we are dealing with two-dimensional or 2D array then we need two for loop. A Two-dimensional array is the array of a one-dimensional array. First for loop represents one-dimensional array and the second for loop represents an array of the one-dimensional array that is a two-dimensional array. For three-dimensional array three for loop will be needed.

Similar questions