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

why it is advise to clean the ends of connecting wires before connecting them?
why is a voltmeter is always connected in parallel in a electric circuit?
A 50 meter path surrounds a rectangular garden . The width of the garden is two-thirds its length. find its area.
How do I solve 5+ 5\5 + 5x5-5
A 50 meter path surrounds a rectangular garden . The width of the garden is two-thirds its length. find its area.
Which sentence is correct? Helen paid for that tickets with my money. Helen paid for this tickets with my money. Helen paid for them tickets with my money. Hele
why a c is advantageable than dc
what is photosynthises
can you tell me what is papyrus?
The steamboat River Queen travels at the rate of 30km/h in still water. If it can travel 45 km up stream in the same amount of time that it takes to go 63 km do