moto4chilli moto4chilli
  • 07-12-2019
  • Computers and Technology
contestada

. Declare a 4 x 3 size array and fill all rows and columns with random numbers and print array. c language

Respuesta :

Omer08
Omer08 Omer08
  • 08-12-2019

Answer:

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

int main()

{

int two_d[4][3];

for(int x; x < 4; x++)

{

   for(int y; y < 3; y++)

   {

       srand (time(NULL));

       two_d[x][y] = rand();

   }

}

}

Explanation:

do you need an explanation? Tell me if you do.

Answer Link

Otras preguntas

the number 4,928 will be rounded to the nearest hundred what is the test digit​
Prophet Co. signed a long-term purchase contract to buy timber from the U.S. Forest Service at $300 per thousand board feet. Under these terms, Prophet must cut
Explain the mix of religious beliefs and practices of the Chinese people and the Han dynasty.
19 ft 4 ft l Find l. l = √ [?] ft
Evaluate 3(x-4) + 2x - x² for x = 3. A. -6 B. 6 C. 2 D. -2
“A day was 24 hours long but seemed longer” what language technique is this
Stopyra Incorporated makes a single product—a cooling coil used in commercial refrigerators. The company has a standard cost system in which it applies overhead
peaches are 1.79 a pound at the grocery store.if kim bought 3.5 pounds of peaches how much did she spend?
The Battle of ___ forced the British to surrender, ending the Revolutionary War
Q. An ornithologist wants to estimate the number of parrots in a large field. She uses a net to catch some, and catches 32 parrots, which she rings and sets fre