Search:

Type: Posts; User: mgutierrez19

Search: Search took 0.19 seconds.

  1. Thread: 2d Arrays

    by mgutierrez19
    Replies
    5
    Views
    3,493

    Re: 2d Arrays

    Yeah but I want it to return 1 only if the pattern is found inside my array else it should return 0, my code keeps returning 1 if the first digit in the pattern is found which I dont want it to do, I...
  2. Thread: 2d Arrays

    by mgutierrez19
    Replies
    5
    Views
    3,493

    Re: 2d Arrays

    I added in the for where I was missing it in my loop, but the code is still not working. it only returns 1 to me once it finds the first part of the pattern it doesnt check the pattern completely.
  3. Thread: 2d Arrays

    by mgutierrez19
    Replies
    5
    Views
    3,493

    Re: 2d Arrays

    I worked on the code and I came up with this but when I run it it does not run properly because it stops checking for the other numbers once it finds the first ones.


    public static int...
  4. Thread: 2d Arrays

    by mgutierrez19
    Replies
    5
    Views
    3,493

    2d Arrays

    I have to create a lab that will
    Print out the input 2D-array as an image on the console screen.
    • Replace 0 by “ ” {space}.
    • Replace values between 1 and 99 by “.” {one dot}.
    • Replace...
Results 1 to 4 of 4