Search:

Type: Posts; User: martynasj

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,938

    Oh sorry for that, I'm new here. Now I want in...

    Oh sorry for that, I'm new here.
    Now I want in each line find the smallest number, I tried with this code:

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>


    int main()
    {
  2. Replies
    6
    Views
    4,938

    2D array filling

    Hi, I need to fill 2D array with random numbers


    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    int main()
    { int i, j, n, m, *rod;
    srand(time(NULL));
    n=rand()%10+1;
Results 1 to 2 of 2