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

What did Ernest Hemingway do during ww1? What did F. Scott Fitzgerald do during ww1? What did T.S. Eliot do during ww1? What did Gertrude Stein do during ww1? W
Define a change in quality demanded, and describe what causes it
Your parents tell you that they must create a personal balance sheet. Explain what a personal balance sheet is and explain the three steps they must use in its
What method did the Nazis use in their genocide?
The percentage of total gross wages owed in tax is calledO A) income tax.O B) the tax rate.O C) the duty ratio.O D) excise tax.
The product of 5 and y added to 3
types of money systems designed by Thomas Jefferson? that 4 letters
Solve 3x−5 = 9. x = −3 x = 2 x = 7 x = 8
When fission or fusion happens, what can be created? A. energy B. new elements C. neutrons and other particles D. All of these can be created during fission
An k incline plane has 2 = 40.0º and : = 0.15. Starting from rest, how long will it take a 4.0 kg block to reach a speed of 12 m/s?