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

which excerpt from the daughter of invention contains language that best reveals that Carlos is still tied to his Dominican origin?
I really need help on this
If the graph is that of f(x), name a point that lies on f^-1 (x). (-1, 0) (3, 0) (2, -3) (-3, 0)
List the levels of classification in order from most broad (largest number of organisms) to most specific (smallest number of organisms)
Pleaseeee help!!!! I will mark you as brainlinest for correct answer!!!!!!!!
Me duele que los extranjeros _______________ las costumbres y las tradiciones locales. desconoce desconozca desconozcan desconocen
What doesve advantage lead to
How many situps should my 13 year old be able to do?
students in a class were asked to tell their favorite color purple: 14% green: 16% yellow: 4% blue: 40% red: 26% how many times more students said red than yel
What was ultimately the reason that napoleon's troops failed in their invasion of russia in the summer of 1812?