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

Make the comparison based on the info in the prompt
Why do you think claims that Jefferson fathered several children with Sally Hemings were generally ignored during Jefferson's lifetime and later by historians?
13. According to page 54, which two statements below explain how Douglass felt about him and his partners in crime being separated and sold to different plantat
Consider again the case where we have 6852 nodes and 1226 hexahedral elements. Let's say 480 of these nodes are on the three fixed holes. How many algebraic equ
Use polynomial long division to find the quote and the remainder when 2x^3-4x^2-x+2 is divided by X+2
4 organelos celulares comparados con objetos cotidianos
A car travels 150 kilometers in 3.2 hours. What is the average velocity for the trip in meters per second.
anyone want to doordash me something for 10 dollars? will give brainly and 5 stars and spotify premium
Can someone tell me where to plot the points? (due tomorrow) thanks!​
what is the____________of your child?