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

Li’s recipe uses 3 2/3 cups of flour. He plans to make 4 batches. How much flour will li need. I need help on finding out what to do.
If a circle has a radius of 6 inches what is the circumference rounded to the nearest whole number using pie =3.14
Kendrick took $20 with him to the arcade. Each game at the arcade costs $0.75 to play. How much money will Kendrick have left if he plays 15 games at the arcade
How many atoms are in HNO3
Write a paragraph, evaluate how preventing and managing stress and getting help for mental and social problems can help a person achieve shirts and long term go
David is raising money for a school trip by selling packs of cookies and candy bars. The price of each pack of cookies is $1.50 and the price of each candy bar
Sarah is dividing 1/4 pound of cashews and 1/2 pound of almonds into five plastic bags what fraction of a pound of nuts will be in each plastic bag dryer model
How many future presidents signed the declaration of independence
Who catches Jem, Scout, and Dill trying to give Boo Radley a note? Book:TKAM
What are the school periods in Spanish